[java] Add failing enum case for NoPackage
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user