Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pvojtechovsky committed Sep 30, 2017
1 parent 6e3a601 commit 6e8ccd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/test/java/spoon/test/enums/EnumsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public void testAnnotationsOnEnum() throws Exception {
foo.getFields().get(0).getAnnotations().get(0)));
assertEquals(
"public enum Foo {" + DefaultJavaPrettyPrinter.LINE_SEPARATOR
+ "@java.lang.Deprecated"
+ " @java.lang.Deprecated"
+ DefaultJavaPrettyPrinter.LINE_SEPARATOR + " Bar;}",
foo.toString());
}
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/spoon/test/imports/ImportTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ public void testFullQualifiedNameImport() throws Exception {

CtClass<Object> aClass = factory.Class().get(A.class);
assertEquals("public class A {" + newLine
+ " public class ArrayList extends java.util.ArrayList { }" + newLine
+ " public class ArrayList extends java.util.ArrayList {}" + newLine
+ "}", aClass.toString());
}

Expand Down

0 comments on commit 6e8ccd1

Please sign in to comment.