diff --git a/src/test/java/com/moandjiezana/toml/RealWorldTest.java b/src/test/java/com/moandjiezana/toml/RealWorldTest.java index 5bb7665..a99b00e 100644 --- a/src/test/java/com/moandjiezana/toml/RealWorldTest.java +++ b/src/test/java/com/moandjiezana/toml/RealWorldTest.java @@ -23,7 +23,7 @@ public class RealWorldTest { public void should_parse_example() throws Exception { TomlParser parser = Parboiled.createParser(TomlParser.class); - String toml = new Scanner(new File(getClass().getResource("/example.toml").getFile())).useDelimiter("\\Z").next(); + String toml = new Scanner(new File(getClass().getResource("example.toml").getFile())).useDelimiter("\\Z").next(); ParsingResult result = new RecoveringParseRunner(parser.Toml()).run(toml); Map root = (Map) result.valueStack.peek(result.valueStack.size() - 2); diff --git a/src/test/resources/example.toml b/src/test/resources/com/moandjiezana/toml/example.toml similarity index 100% rename from src/test/resources/example.toml rename to src/test/resources/com/moandjiezana/toml/example.toml