diff --git a/src/test/java/spoon/test/serializable/SourcePositionTest.java b/src/test/java/spoon/test/serializable/SourcePositionTest.java index 3dfe6d96f77..b4c35cdb5a9 100644 --- a/src/test/java/spoon/test/serializable/SourcePositionTest.java +++ b/src/test/java/spoon/test/serializable/SourcePositionTest.java @@ -48,7 +48,7 @@ private static void saveFactory(Factory factory, File file) throws IOException { @Test public void testSourcePosition() throws IOException { - File modelFile = new File("./src/test/resources/serialization/model"); + File modelFile = new File("./target/SourcePositionTest-model"); Launcher launcher = new Launcher(); launcher.addInputResource("./src/test/resources/serialization/SomeClass.java"); launcher.buildModel();