Skip to content

Commit

Permalink
Test for issue #7. Bug already fixed with fix of #2
Browse files Browse the repository at this point in the history
  • Loading branch information
rzymek committed May 16, 2013
1 parent 4ea2bf2 commit d1b15f1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ class Java2XtendTest {
convertResource("/Test.java.txt")
}
@Test
def void bug7() {
convertResource("/Bug7.txt")
}
@Test
def void bug2() {
convertResource("/Bug2.java.txt")
}
Expand Down
4 changes: 4 additions & 0 deletions src/test/resources/Bug7.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
public class Test{
public static final List<String> test = new Test(Collections.<String>emptyList());
public Test(List<String> t) {}
}

0 comments on commit d1b15f1

Please sign in to comment.