Skip to content

Commit

Permalink
Merge pull request #650 from epage/update
Browse files Browse the repository at this point in the history
chore: Update toml-test-data
  • Loading branch information
epage authored Nov 7, 2023
2 parents 2e99658 + 7720e72 commit dfd06db
Show file tree
Hide file tree
Showing 10 changed files with 42 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/toml/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ serde_spanned = { version = "0.6.4", path = "../serde_spanned", features = ["ser
serde = { version = "1.0.160", features = ["derive"] }
serde_json = "1.0.96"
toml-test-harness = "0.4.8"
toml-test-data = "1.4.0"
toml-test-data = "1.5.0"
snapbox = "0.4.11"

[[test]]
Expand Down
2 changes: 1 addition & 1 deletion crates/toml_edit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ serde_spanned = { version = "0.6.4", path = "../serde_spanned", features = ["ser
[dev-dependencies]
serde_json = "1.0.96"
toml-test-harness = "0.4.8"
toml-test-data = "1.4.0"
toml-test-data = "1.5.0"
libtest-mimic = "0.6.0"
snapbox = { version = "0.4.11", features = ["harness"] }

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
TOML parse error at line 1, column 17
|
1 | exp-point-3 = 3.e+20
| ^
invalid floating-point number
expected digit
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
TOML parse error at line 1, column 23
|
1 | exp-trailing-us-1 = 1_e2
| ^
invalid integer
expected digit
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
TOML parse error at line 1, column 25
|
1 | exp-trailing-us-2 = 1.2_e2
| ^
invalid floating-point number
expected digit, digit
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
TOML parse error at line 2, column 1
|
2 | name = "Pradyun"
| ^
duplicate key `name` in document root
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
TOML parse error at line 2, column 1
|
2 | dupe = true
| ^
duplicate key `dupe` in document root
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
TOML parse error at line 2, column 1
|
2 | "spelling" = "favourite"
| ^
duplicate key `spelling` in document root
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
TOML parse error at line 2, column 1
|
2 | 'spelling' = "favourite"
| ^
duplicate key `spelling` in document root

0 comments on commit dfd06db

Please sign in to comment.