diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2016-04-28 10:17:47 +0300 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2016-05-02 10:19:27 +0300 |
commit | e27e98702ec803ba2f12f6196fdadb8cb20ecf93 (patch) | |
tree | daa28603c9f115c8b345ea0f483df7960f50e2c2 | |
parent | c1e94e242ed3a499df7bc463aee239218629931e (diff) | |
download | python-mimeparse-e27e98702ec803ba2f12f6196fdadb8cb20ecf93.tar.gz |
Add test case for negative q value
-rw-r--r-- | testdata.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testdata.json b/testdata.json index 409ab72..d5f079a 100644 --- a/testdata.json +++ b/testdata.json @@ -4,6 +4,7 @@ ["application/xml", ["application", "xml", {"q": "1"}]], ["application/xml;q=",["application", "xml", {"q": "1"}]], ["application/xml ;q=",["application", "xml", {"q": "1"}]], + ["application/xml ;q=-1",["application", "xml", {"q": "1"}]], ["application/xml ; q=1;b=other",["application", "xml", {"q": "1", "b":"other"}]], ["application/xml ; q=2;b=other",["application", "xml", {"q": "1", "b":"other"}]], ["application/xml ; q=0",["application", "xml", {"q": "0"}]], |