diff options
Diffstat (limited to 'lib/bytes/testdata')
| -rw-r--r-- | lib/bytes/testdata/Parser_ReadNoSpace_test.txt | 37 | ||||
| -rw-r--r-- | lib/bytes/testdata/Parser_Read_test.txt | 50 |
2 files changed, 87 insertions, 0 deletions
diff --git a/lib/bytes/testdata/Parser_ReadNoSpace_test.txt b/lib/bytes/testdata/Parser_ReadNoSpace_test.txt new file mode 100644 index 00000000..e18fd125 --- /dev/null +++ b/lib/bytes/testdata/Parser_ReadNoSpace_test.txt @@ -0,0 +1,37 @@ +The test initialize Parser with seven delimiters. + +>>> multiline:delims + = + "() + +>>> multiline +a b = c ( + d e = f + g + ) +h=i ( + j="k l m" +) + +<<< multiline:ReadNoSpace +"a" ' ' +"b" ' ' +"" '=' +"c" ' ' +"" '(' +"d" ' ' +"e" ' ' +"" '=' +"f" '\n' +"g" '\n' +"" ')' +"h" '=' +"i" ' ' +"" '(' +"j" '=' +"" '"' +"k" ' ' +"l" ' ' +"m" '"' +"" ')' +"" '\x00' diff --git a/lib/bytes/testdata/Parser_Read_test.txt b/lib/bytes/testdata/Parser_Read_test.txt new file mode 100644 index 00000000..235c9730 --- /dev/null +++ b/lib/bytes/testdata/Parser_Read_test.txt @@ -0,0 +1,50 @@ +The test initialize Parser with seven delimiters. + +>>> multiline:delims + = + "() + +>>> multiline +a b = c ( + d e = f + g + ) +h=i ( + j="k l m" +) + +<<< multiline:Read +"a" ' ' +"b" ' ' +"" '=' +"" ' ' +"c" ' ' +"" '(' +"" '\n' +"" ' ' +"" ' ' +"d" ' ' +"e" ' ' +"" '=' +"" ' ' +"f" '\n' +"" ' ' +"" ' ' +"g" '\n' +"" ' ' +"" ' ' +"" ')' +"" '\n' +"h" '=' +"i" ' ' +"" '(' +"" '\n' +"" ' ' +"j" '=' +"" '"' +"k" ' ' +"l" ' ' +"m" '"' +"" '\n' +"" ')' +"" '\x00' |
