From e27e98702ec803ba2f12f6196fdadb8cb20ecf93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Thu, 28 Apr 2016 10:17:47 +0300 Subject: Add test case for negative q value --- testdata.json | 1 + 1 file changed, 1 insertion(+) 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"}]], -- cgit v1.2.1