From 5131429abbe6d2636064e17b45c99827a904c345 Mon Sep 17 00:00:00 2001 From: Ben Kirwin Date: Mon, 19 May 2014 11:18:31 -0400 Subject: [PATCH 1/2] Delete a comma This should now be parseable as JSON. --- trietest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trietest.json b/trietest.json index 2cd4d5f9b..2db1968ed 100644 --- a/trietest.json +++ b/trietest.json @@ -54,7 +54,7 @@ { "inputs":[ ["test", "test"], - ["te", "testy"], + ["te", "testy"] ], "expectation": "8452568af70d8d140f58d941338542f645fcca50094b20f3c3d8c3df49337928" } From 356a3296bc7eeac8b1b65aa843b5856cd786c4cf Mon Sep 17 00:00:00 2001 From: Ben Kirwin Date: Thu, 22 May 2014 00:20:48 -0400 Subject: [PATCH 2/2] Add some arbitrary test names This should now conform to the format specified in the README. --- trietest.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/trietest.json b/trietest.json index 2db1968ed..c77e7eb8e 100644 --- a/trietest.json +++ b/trietest.json @@ -1,11 +1,11 @@ -[ - { +{ + "singleItem": { "inputs": [ ["A", "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"] ], "expectation": "d23786fb4a010da3ce639d66d5e904a11dbc02746d1ce25029e53290cabf28ab" }, - { + "dogs": { "inputs": [ ["doe", "reindeer"], ["dog", "puppy"], @@ -13,7 +13,7 @@ ], "expectation": "8aad789dff2f538bca5d8ea56e8abe10f4c7ba3a5dea95fea4cd6e7c3a1168d3" }, - { + "puppy": { "inputs":[ ["do", "verb"], ["horse", "stallion"], @@ -22,7 +22,7 @@ ], "expectation": "5991bb8c6514148a29db676a14ac506cd2cd5775ace63c30a4fe457715e9ac84" }, - { + "emptyValues": { "inputs":[ ["do", "verb"], ["ether", "wookiedoo"], @@ -35,7 +35,7 @@ ], "expectation": "5991bb8c6514148a29db676a14ac506cd2cd5775ace63c30a4fe457715e9ac84" }, - { + "foo": { "inputs":[ ["foo", "bar"], ["food", "bat"], @@ -43,7 +43,7 @@ ], "expectation": "17beaa1648bafa633cda809c90c04af50fc8aed3cb40d16efbddee6fdf63c4c3" }, - { + "smallValues": { "inputs":[ ["be", "e"], ["dog", "puppy"], @@ -51,11 +51,11 @@ ], "expectation": "3f67c7a47520f79faa29255d2d3c084a7a6df0453116ed7232ff10277a8be68b" }, - { + "testy": { "inputs":[ ["test", "test"], ["te", "testy"] ], "expectation": "8452568af70d8d140f58d941338542f645fcca50094b20f3c3d8c3df49337928" } -] +}