Skip to content

Commit

Permalink
re-enable test_duplicates_cu
Browse files Browse the repository at this point in the history
  • Loading branch information
Frotty committed Jun 4, 2018
1 parent e92a33c commit 7119847
Showing 1 changed file with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@

public class ScopingTests extends WurstScriptTest {

// @Test
// public void test_duplicates_cu() {
// testAssertErrorsLines(false, "already defined",
// "package A",
// "endpackage",
// "package A",
// "endpackage",
// "package B",
// " import A",
// "endpackage");
// }
@Test
public void test_duplicates_cu() {
testAssertErrorsLines(false, "An element with name A already exists",
"package A",
"endpackage",
"package A",
"endpackage",
"package B",
" import A",
"endpackage");
}

@Test
public void test_duplicates_jass_func() {
Expand Down

0 comments on commit 7119847

Please sign in to comment.