We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
\r
"""
\r\n
1 parent 1fb9c95 commit 2b61669Copy full SHA for 2b61669
2 files changed
vlib/toml/scanner/scanner.v
@@ -486,7 +486,7 @@ fn (mut s Scanner) extract_multiline_string() !string {
486
c := u8(s.at())
487
util.printdbg(@MOD + '.' + @STRUCT + '.' + @FN, 'c: `${c.ascii_str()}` / ${c} (quote type: ${quote}/${quote.ascii_str()})')
488
489
- if c == `\r` {
+ if c == `\r` && s.peek(1) == `\n` {
490
continue
491
}
492
if c == `\n` {
vlib/toml/tests/burntsushi_toml_test.v
@@ -1,6 +1,3 @@
1
-// vtest flaky: true
2
-// vtest retry: 3
3
-
4
// Instructions for developers:
5
// The actual tests and data can be obtained by doing:
6
// `git clone -n https://github.com/toml-lang/toml-test.git vlib/toml/tests/testdata/burntsushi`
0 commit comments