From 5c1d87592ad3ad2b1742c356d35a5123342f1693 Mon Sep 17 00:00:00 2001 From: Petri Lehtinen Date: Mon, 15 Dec 2014 08:30:59 +0200 Subject: [PATCH] wip: add tests --- test/suites/invalid/invalid-unicode-escape/error | 2 ++ test/suites/invalid/invalid-unicode-escape/input | 1 + 2 files changed, 3 insertions(+) create mode 100644 test/suites/invalid/invalid-unicode-escape/error create mode 100644 test/suites/invalid/invalid-unicode-escape/input diff --git a/test/suites/invalid/invalid-unicode-escape/error b/test/suites/invalid/invalid-unicode-escape/error new file mode 100644 index 0000000..221c762 --- /dev/null +++ b/test/suites/invalid/invalid-unicode-escape/error @@ -0,0 +1,2 @@ +1 5 5 +invalid escape near '"\uq' diff --git a/test/suites/invalid/invalid-unicode-escape/input b/test/suites/invalid/invalid-unicode-escape/input new file mode 100644 index 0000000..f381e85 --- /dev/null +++ b/test/suites/invalid/invalid-unicode-escape/input @@ -0,0 +1 @@ +["\uqqqq <-- invalid unicode escape"]