From e3a3d22a46f0d5d254b7a159dc0cf415e39830aa Mon Sep 17 00:00:00 2001 From: "moandji.ezana" Date: Thu, 28 Feb 2013 09:34:21 +0200 Subject: [PATCH] Moved example.toml --- src/test/java/com/moandjiezana/toml/RealWorldTest.java | 2 +- src/test/resources/{ => com/moandjiezana/toml}/example.toml | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/test/resources/{ => com/moandjiezana/toml}/example.toml (100%) 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