1
0
mirror of https://github.com/httpie/cli.git synced 2025-11-29 22:58:15 +02:00

More robust mime type parsing

Closes #344
This commit is contained in:
Jakub Roztocil
2016-02-28 20:12:16 +08:00
parent e385ed6a99
commit 0f8d04b4df
2 changed files with 3 additions and 2 deletions

View File

@@ -39,6 +39,7 @@ class TestColors:
'foo/bar+json',
'foo/json-foo',
'foo/x-json',
'application/vnd.comverge.grid+hal+json',
])
def test_get_lexer(self, mime):
lexer = get_lexer(mime)