fix: improve generated code on errors
This commit is contained in:
@@ -44,6 +44,6 @@ public class TestEnums3 extends IntegrationTest {
|
||||
assertThat(code, containsOne("ONE(1)"));
|
||||
// assertThat(code, containsOne("THREE(three)"));
|
||||
// assertThat(code, containsOne("assertTrue(Numbers.ONE.getNum() == 1);"));
|
||||
assertThat(code, containsOne("private Numbers(int n) {"));
|
||||
assertThat(code, containsOne("Numbers(int n) {"));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user