first commit
This commit is contained in:
13
build/node_modules/json5/test/parse-cases/new-lines/.editorconfig
generated
vendored
Normal file
13
build/node_modules/json5/test/parse-cases/new-lines/.editorconfig
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
# Since we're testing different representations of new lines,
|
||||
# make sure the editor doesn't mangle line endings.
|
||||
# Don't commit files in this directory unless you've checked
|
||||
# their escaped new lines.
|
||||
|
||||
[*-lf.*]
|
||||
end_of_line = lf
|
||||
|
||||
[*-cr.*]
|
||||
end_of_line = cr
|
||||
|
||||
[*-crlf.*]
|
||||
end_of_line = crlf
|
||||
4
build/node_modules/json5/test/parse-cases/new-lines/.gitattributes
generated
vendored
Normal file
4
build/node_modules/json5/test/parse-cases/new-lines/.gitattributes
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
# Since we're testing different representations of new lines,
|
||||
# treat all tests in this folder as binary files.
|
||||
|
||||
* binary
|
||||
1
build/node_modules/json5/test/parse-cases/new-lines/comment-cr.json5
generated
vendored
Normal file
1
build/node_modules/json5/test/parse-cases/new-lines/comment-cr.json5
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{
// This comment is terminated with `\r`.
}
|
||||
3
build/node_modules/json5/test/parse-cases/new-lines/comment-crlf.json5
generated
vendored
Normal file
3
build/node_modules/json5/test/parse-cases/new-lines/comment-crlf.json5
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
// This comment is terminated with `\r\n`.
|
||||
}
|
||||
3
build/node_modules/json5/test/parse-cases/new-lines/comment-lf.json5
generated
vendored
Normal file
3
build/node_modules/json5/test/parse-cases/new-lines/comment-lf.json5
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
// This comment is terminated with `\n`.
|
||||
}
|
||||
1
build/node_modules/json5/test/parse-cases/new-lines/escaped-cr.json5
generated
vendored
Normal file
1
build/node_modules/json5/test/parse-cases/new-lines/escaped-cr.json5
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{
// the following string contains an escaped `\r`
a: 'line 1 \
line 2'
}
|
||||
5
build/node_modules/json5/test/parse-cases/new-lines/escaped-crlf.json5
generated
vendored
Normal file
5
build/node_modules/json5/test/parse-cases/new-lines/escaped-crlf.json5
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
// the following string contains an escaped `\r\n`
|
||||
a: 'line 1 \
|
||||
line 2'
|
||||
}
|
||||
5
build/node_modules/json5/test/parse-cases/new-lines/escaped-lf.json5
generated
vendored
Normal file
5
build/node_modules/json5/test/parse-cases/new-lines/escaped-lf.json5
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
// the following string contains an escaped `\n`
|
||||
a: 'line 1 \
|
||||
line 2'
|
||||
}
|
||||
Reference in New Issue
Block a user