diff --git a/src/test/java/com/moandjiezana/toml/TomlTest.java b/src/test/java/com/moandjiezana/toml/TomlTest.java index 1172f3d..b95d3f3 100644 --- a/src/test/java/com/moandjiezana/toml/TomlTest.java +++ b/src/test/java/com/moandjiezana/toml/TomlTest.java @@ -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"); } diff --git a/src/test/resources/com/moandjiezana/toml/hard_example.toml b/src/test/resources/com/moandjiezana/toml/hard_example.toml index 051a340..1d5d8e9 100644 --- a/src/test/resources/com/moandjiezana/toml/hard_example.toml +++ b/src/test/resources/com/moandjiezana/toml/hard_example.toml @@ -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 # \ No newline at end of file +#number = 3.14 pi <--again forgot the #