Skip to content

Commit

Permalink
test(invalid): Mirror cargo test
Browse files Browse the repository at this point in the history
This is for toml-rs#257 and toml-rs#259
  • Loading branch information
epage committed Dec 29, 2021
1 parent fe79d63 commit 6979cd0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/fixtures/invalid/inline-table-newline.stderr
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
TOML parse error at line 7, column 11
|
7 | native = {
| ^
Unexpected `
`
9 changes: 9 additions & 0 deletions tests/fixtures/invalid/inline-table-newline.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[package]
name = "foo"
version = "0.0.0"
authors = []

[target.x86_64-apple-darwin.freetype]
native = {
foo: "bar"
}

0 comments on commit 6979cd0

Please sign in to comment.