mirror of
https://github.com/plexusorg/toml4j.git
synced 2025-02-11 11:40:27 +00:00
Updated hard example
This commit is contained in:
parent
40e5adfd2e
commit
494049124f
2 changed files with 4 additions and 3 deletions
|
@ -243,7 +243,8 @@ public class TomlTest {
|
|||
new Toml().parse("[a]\nb=1\n[a]\nc=2");
|
||||
}
|
||||
|
||||
@Ignore @Test(expected = IllegalStateException.class)
|
||||
@Ignore
|
||||
@Test(expected = IllegalStateException.class)
|
||||
public void should_fail_when_illegal_characters_after_key_group() throws Exception {
|
||||
new Toml().parse("[error] if you didn't catch this, your parser is broken");
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@ test_string = "You'll hate me after this - #" # " Annoying, isn't it?
|
|||
|
||||
# Each of the following keygroups/key value pairs should produce an error. Uncomment to them to test
|
||||
|
||||
[error] if you didn't catch this, your parser is broken
|
||||
#[error] if you didn't catch this, your parser is broken
|
||||
#string = "Anything other than tabs, spaces and newline after a keygroup or key value pair has ended should produce an error unless it is a comment" like this
|
||||
#array = [
|
||||
# "This might most likely happen in multiline arrays",
|
||||
|
@ -30,4 +30,4 @@ test_string = "You'll hate me after this - #" # " Annoying, isn't it?
|
|||
# "or here,
|
||||
# and here"
|
||||
# ] End of array comment, forgot the #
|
||||
#number = 3.14 pi <--again forgot the #
|
||||
#number = 3.14 pi <--again forgot the #
|
||||
|
|
Loading…
Reference in a new issue