diff options
author | Nadrieril | 2020-03-20 11:40:09 +0000 |
---|---|---|
committer | Nadrieril | 2020-03-20 12:20:38 +0000 |
commit | e28d9e6f2422f47e250304e053238adc458f6a98 (patch) | |
tree | 57966906aa7ae365e8bf1feacf2b5e959073006b /dhall/tests/parser/success/text | |
parent | 98b067309388d3f7c692dd82634e776113ea342b (diff) |
Commit output of printer
Diffstat (limited to '')
24 files changed, 24 insertions, 0 deletions
diff --git a/dhall/tests/parser/success/text/dollarSignB.txt b/dhall/tests/parser/success/text/dollarSignB.txt new file mode 100644 index 0000000..6f9c5da --- /dev/null +++ b/dhall/tests/parser/success/text/dollarSignB.txt @@ -0,0 +1 @@ +"\u0024" diff --git a/dhall/tests/parser/success/text/doubleQuotedStringB.txt b/dhall/tests/parser/success/text/doubleQuotedStringB.txt new file mode 100644 index 0000000..8d277c1 --- /dev/null +++ b/dhall/tests/parser/success/text/doubleQuotedStringB.txt @@ -0,0 +1 @@ +"ABC" diff --git a/dhall/tests/parser/success/text/escapeB.txt b/dhall/tests/parser/success/text/escapeB.txt new file mode 100644 index 0000000..ef58277 --- /dev/null +++ b/dhall/tests/parser/success/text/escapeB.txt @@ -0,0 +1 @@ +"\u0024{\n''\n\u0024\n\"\n\\\n" diff --git a/dhall/tests/parser/success/text/escapedDoubleQuotedStringB.txt b/dhall/tests/parser/success/text/escapedDoubleQuotedStringB.txt new file mode 100644 index 0000000..afd1433 --- /dev/null +++ b/dhall/tests/parser/success/text/escapedDoubleQuotedStringB.txt @@ -0,0 +1 @@ +"\\\"\u0024\\/\b\f\n\r\tš ā(a : Type) ā a" diff --git a/dhall/tests/parser/success/text/escapedSingleQuotedStringB.txt b/dhall/tests/parser/success/text/escapedSingleQuotedStringB.txt new file mode 100644 index 0000000..ff2a15e --- /dev/null +++ b/dhall/tests/parser/success/text/escapedSingleQuotedStringB.txt @@ -0,0 +1 @@ +"\u0024{\n''\n" diff --git a/dhall/tests/parser/success/text/interestingB.txt b/dhall/tests/parser/success/text/interestingB.txt new file mode 100644 index 0000000..a8a6cc7 --- /dev/null +++ b/dhall/tests/parser/success/text/interestingB.txt @@ -0,0 +1 @@ +Ī»(x : Text) ā "${ x } baz\n bar\n foo\n " diff --git a/dhall/tests/parser/success/text/interiorIndentB.txt b/dhall/tests/parser/success/text/interiorIndentB.txt new file mode 100644 index 0000000..fc229a2 --- /dev/null +++ b/dhall/tests/parser/success/text/interiorIndentB.txt @@ -0,0 +1 @@ +" foo\n bar\n" diff --git a/dhall/tests/parser/success/text/interpolatedDoubleQuotedStringB.txt b/dhall/tests/parser/success/text/interpolatedDoubleQuotedStringB.txt new file mode 100644 index 0000000..42157f4 --- /dev/null +++ b/dhall/tests/parser/success/text/interpolatedDoubleQuotedStringB.txt @@ -0,0 +1 @@ +"ABC${ Natural/show 123 }" diff --git a/dhall/tests/parser/success/text/interpolatedSingleQuotedStringB.txt b/dhall/tests/parser/success/text/interpolatedSingleQuotedStringB.txt new file mode 100644 index 0000000..b00ed1d --- /dev/null +++ b/dhall/tests/parser/success/text/interpolatedSingleQuotedStringB.txt @@ -0,0 +1 @@ +"ABC\n${ Natural/show 123 }\n" diff --git a/dhall/tests/parser/success/text/interpolationB.txt b/dhall/tests/parser/success/text/interpolationB.txt new file mode 100644 index 0000000..0561d8c --- /dev/null +++ b/dhall/tests/parser/success/text/interpolationB.txt @@ -0,0 +1 @@ +"${ Natural/show 1 } foo\n bar\n" diff --git a/dhall/tests/parser/success/text/multilineBlankLineB.txt b/dhall/tests/parser/success/text/multilineBlankLineB.txt new file mode 100644 index 0000000..8a8c83f --- /dev/null +++ b/dhall/tests/parser/success/text/multilineBlankLineB.txt @@ -0,0 +1 @@ +"hello\n\nthere\n" diff --git a/dhall/tests/parser/success/text/multilineBlankLineCrlfB.txt b/dhall/tests/parser/success/text/multilineBlankLineCrlfB.txt new file mode 100644 index 0000000..8a8c83f --- /dev/null +++ b/dhall/tests/parser/success/text/multilineBlankLineCrlfB.txt @@ -0,0 +1 @@ +"hello\n\nthere\n" diff --git a/dhall/tests/parser/success/text/multilineCorruptedLeadingWhitespaceB.txt b/dhall/tests/parser/success/text/multilineCorruptedLeadingWhitespaceB.txt new file mode 100644 index 0000000..ec17d16 --- /dev/null +++ b/dhall/tests/parser/success/text/multilineCorruptedLeadingWhitespaceB.txt @@ -0,0 +1 @@ +"\thai\n\tthere\n ok\n\t" diff --git a/dhall/tests/parser/success/text/multilineIndentedAndAlignedB.txt b/dhall/tests/parser/success/text/multilineIndentedAndAlignedB.txt new file mode 100644 index 0000000..552c097 --- /dev/null +++ b/dhall/tests/parser/success/text/multilineIndentedAndAlignedB.txt @@ -0,0 +1 @@ +"hai\nthere\n" diff --git a/dhall/tests/parser/success/text/multilineMismatchedLeadingWhitespaceB.txt b/dhall/tests/parser/success/text/multilineMismatchedLeadingWhitespaceB.txt new file mode 100644 index 0000000..52d4d86 --- /dev/null +++ b/dhall/tests/parser/success/text/multilineMismatchedLeadingWhitespaceB.txt @@ -0,0 +1 @@ +"\ta\n b\n" diff --git a/dhall/tests/parser/success/text/multilineTabsB.txt b/dhall/tests/parser/success/text/multilineTabsB.txt new file mode 100644 index 0000000..e2e709f --- /dev/null +++ b/dhall/tests/parser/success/text/multilineTabsB.txt @@ -0,0 +1 @@ +"hai\n\tthere\n lol\n" diff --git a/dhall/tests/parser/success/text/nonAssignedUnicodeB.txt b/dhall/tests/parser/success/text/nonAssignedUnicodeB.txt new file mode 100644 index 0000000..b699fec --- /dev/null +++ b/dhall/tests/parser/success/text/nonAssignedUnicodeB.txt @@ -0,0 +1 @@ +"šæ°" diff --git a/dhall/tests/parser/success/text/preserveCommentB.txt b/dhall/tests/parser/success/text/preserveCommentB.txt new file mode 100644 index 0000000..206e992 --- /dev/null +++ b/dhall/tests/parser/success/text/preserveCommentB.txt @@ -0,0 +1 @@ +"-- Hello\n{- world -}\n" diff --git a/dhall/tests/parser/success/text/singleLineB.txt b/dhall/tests/parser/success/text/singleLineB.txt new file mode 100644 index 0000000..810c96e --- /dev/null +++ b/dhall/tests/parser/success/text/singleLineB.txt @@ -0,0 +1 @@ +"foo" diff --git a/dhall/tests/parser/success/text/singleQuoteConcatB.txt b/dhall/tests/parser/success/text/singleQuoteConcatB.txt new file mode 100644 index 0000000..92c0744 --- /dev/null +++ b/dhall/tests/parser/success/text/singleQuoteConcatB.txt @@ -0,0 +1 @@ +"a" ++ "b" diff --git a/dhall/tests/parser/success/text/singleQuotedStringB.txt b/dhall/tests/parser/success/text/singleQuotedStringB.txt new file mode 100644 index 0000000..457dfd5 --- /dev/null +++ b/dhall/tests/parser/success/text/singleQuotedStringB.txt @@ -0,0 +1 @@ +"ABC\nDEF\n" diff --git a/dhall/tests/parser/success/text/templateB.txt b/dhall/tests/parser/success/text/templateB.txt new file mode 100644 index 0000000..74303d3 --- /dev/null +++ b/dhall/tests/parser/success/text/templateB.txt @@ -0,0 +1 @@ +Ī»(record : { `in_ca` : Bool, name : Text, `taxed_value` : Double, value : Double }) ā "Hello ${ record.name }\nYou have just won ${ Double/show record.value } dollars!\n${ if record.`in_ca` then "Well, ${ Double/show record.`taxed_value` } dollars, after taxes" else "" }\n" diff --git a/dhall/tests/parser/success/text/twoLinesB.txt b/dhall/tests/parser/success/text/twoLinesB.txt new file mode 100644 index 0000000..7f8d646 --- /dev/null +++ b/dhall/tests/parser/success/text/twoLinesB.txt @@ -0,0 +1 @@ +"foo\nbar" diff --git a/dhall/tests/parser/success/text/unicodeDoubleQuotedStringB.txt b/dhall/tests/parser/success/text/unicodeDoubleQuotedStringB.txt new file mode 100644 index 0000000..47131d2 --- /dev/null +++ b/dhall/tests/parser/success/text/unicodeDoubleQuotedStringB.txt @@ -0,0 +1 @@ +"ā(a : Type) ā a" |