Skip to content

Commit f6d6eed

Browse files
committed
Update toml library; fix multiline-string-quotes test
1 parent 89ffed3 commit f6d6eed

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ module github.com/BurntSushi/toml-test
22

33
go 1.16
44

5-
require github.com/BurntSushi/toml v0.3.2-0.20210614001753-6a7a233f065a
5+
require github.com/BurntSushi/toml v0.3.2-0.20210614221721-cd9deba40dc3

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
github.com/BurntSushi/toml v0.3.2-0.20210614001753-6a7a233f065a h1:dcmBCpyqOXHaeF1W1nIa7vWQROVKLC+veXbBVWqyLoc=
2-
github.com/BurntSushi/toml v0.3.2-0.20210614001753-6a7a233f065a/go.mod h1:2QZjSXA5e+XyFeCAxxtL8Z4StYUsTquL8ODGPR3C3MA=
1+
github.com/BurntSushi/toml v0.3.2-0.20210614221721-cd9deba40dc3 h1:vCIfnb1pHr29dOiCRrw6wvouZBjJJs/UqRtwcUxdxoo=
2+
github.com/BurntSushi/toml v0.3.2-0.20210614221721-cd9deba40dc3/go.mod h1:2QZjSXA5e+XyFeCAxxtL8Z4StYUsTquL8ODGPR3C3MA=

tests/valid/multiline-string-quotes.json

+8
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,18 @@
2424
"value": "aaa\"\"\"bbb"
2525
},
2626
"one": {
27+
"type": "string",
28+
"value": "\"one quote\""
29+
},
30+
"one_space": {
2731
"type": "string",
2832
"value": " \"one quote\" "
2933
},
3034
"two": {
35+
"type": "string",
36+
"value": "\"\"two quotes\"\""
37+
},
38+
"two_space": {
3139
"type": "string",
3240
"value": " \"\"two quotes\"\" "
3341
}

0 commit comments

Comments
 (0)