Fix unintentionally invalid filename escaping test

This commit is contained in:
Stanisław Barzowski 2019-05-29 21:29:02 +02:00
parent df7753e2c7
commit ee8aee43a3
7 changed files with 14 additions and 19 deletions

6
testdata/%22.golden vendored
View File

@ -1,5 +1 @@
testdata/":2:1 Unexpected end of file. { }

View File

@ -1 +1,2 @@
// This file is there only for its filename: to test escaping in imports // This file is there only for its filename: to test escaping in imports
{}

6
testdata/%27.golden vendored
View File

@ -1,5 +1 @@
testdata/':2:1 Unexpected end of file. { }

View File

@ -1 +1,2 @@
// This file is there only for its filename: to test escaping in imports // This file is there only for its filename: to test escaping in imports
{}

View File

@ -1,5 +1,6 @@
testdata/".jsonnet:2:1 Unexpected end of file. [
true,
true,
"// This file is there only for its filename: to test escaping in imports\n{}\n",
"// This file is there only for its filename: to test escaping in imports\n{}\n"
]

View File

@ -1,6 +1,6 @@
[ [
import "\u0074rue.jsonnet", import "\u0074rue.jsonnet",
import '\u0074rue.jsonnet', import '\u0074rue.jsonnet',
import @""".jsonnet", importstr @""".jsonnet",
import @'''.jsonnet', importstr @'''.jsonnet',
] ]

View File

@ -1,6 +1,6 @@
[ [
"true\n", "true\n",
"true\n", "true\n",
"// This file is there only for its filename: to test escaping in imports\n", "// This file is there only for its filename: to test escaping in imports\n{}\n",
"// This file is there only for its filename: to test escaping in imports\n" "// This file is there only for its filename: to test escaping in imports\n{}\n"
] ]