[java] Add failing enum case for NoPackage

This commit is contained in:
Juan Martín Sotuyo Dodero
2019-04-12 17:27:27 -03:00
parent 0dd0ce1b06
commit 5ad7ca97bc

View File

@ -32,6 +32,17 @@ nested package
<code><![CDATA[
package foo.bar;
public class Foo {
}
]]></code>
</test-code>
<test-code>
<description><![CDATA[
no package in top-level enum
]]></description>
<expected-problems>1</expected-problems>
<code><![CDATA[
public enum Foo {
BAR;
}
]]></code>
</test-code>