mirror of
https://github.com/google/go-jsonnet.git
synced 2025-09-29 17:31:02 +02:00
Fix unintentionally invalid filename escaping test
This commit is contained in:
parent
df7753e2c7
commit
ee8aee43a3
6
testdata/%22.golden
vendored
6
testdata/%22.golden
vendored
@ -1,5 +1 @@
|
||||
testdata/":2:1 Unexpected end of file.
|
||||
|
||||
|
||||
|
||||
|
||||
{ }
|
||||
|
1
testdata/%22.jsonnet
vendored
1
testdata/%22.jsonnet
vendored
@ -1 +1,2 @@
|
||||
// This file is there only for its filename: to test escaping in imports
|
||||
{}
|
||||
|
6
testdata/%27.golden
vendored
6
testdata/%27.golden
vendored
@ -1,5 +1 @@
|
||||
testdata/':2:1 Unexpected end of file.
|
||||
|
||||
|
||||
|
||||
|
||||
{ }
|
||||
|
1
testdata/%27.jsonnet
vendored
1
testdata/%27.jsonnet
vendored
@ -1 +1,2 @@
|
||||
// This file is there only for its filename: to test escaping in imports
|
||||
{}
|
||||
|
11
testdata/import_various_literals_escaped.golden
vendored
11
testdata/import_various_literals_escaped.golden
vendored
@ -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"
|
||||
]
|
||||
|
@ -1,6 +1,6 @@
|
||||
[
|
||||
import "\u0074rue.jsonnet",
|
||||
import '\u0074rue.jsonnet',
|
||||
import @""".jsonnet",
|
||||
import @'''.jsonnet',
|
||||
importstr @""".jsonnet",
|
||||
importstr @'''.jsonnet',
|
||||
]
|
||||
|
@ -1,6 +1,6 @@
|
||||
[
|
||||
"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"
|
||||
"// 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"
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user