summaryrefslogtreecommitdiffstats
path: root/check-qjson.c
diff options
context:
space:
mode:
Diffstat (limited to 'check-qjson.c')
-rw-r--r--check-qjson.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/check-qjson.c b/check-qjson.c
index 64fcdcb..36d4ac2 100644
--- a/check-qjson.c
+++ b/check-qjson.c
@@ -33,7 +33,8 @@ START_TEST(escaped_string)
{ "\"\\n\"", "\n" },
{ "\"\\r\"", "\r" },
{ "\"\\t\"", "\t" },
- { "\"\\/\"", "\\/" },
+ { "\"/\"", "/" },
+ { "\"\\/\"", "/", .skip = 1 },
{ "\"\\\\\"", "\\" },
{ "\"\\\"\"", "\"" },
{ "\"hello world \\\"embedded string\\\"\"",
OpenPOWER on IntegriCloud