fix parser for escape

This commit is contained in:
Darien Raymond committed 2016-12-15 15:53:23 +01:00
1 parent 1ab02e0a6b
commit 4e3ed19308
2 files changed
+4 -1

No files matched your search

+2
View File
@@ -4,6 +4,7 @@ import (
"testing"
"bytes"
"v2ray.com/core/testing/assert"
. "v2ray.com/core/tools/conf/json"
)
@@ -33,6 +34,7 @@ text text 2*`},
{`"//"content`, `"//"content`},
{`abcd'//'abcd`, `abcd'//'abcd`},
{`"\""`, `"\""`},
{`\"/*abcd*/\"`, `\"\"`},
}
for _, testCase := range data {