aboutsummaryrefslogtreecommitdiff
path: root/test/delombok/resource/before/CleanupName.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/delombok/resource/before/CleanupName.java')
-rw-r--r--test/delombok/resource/before/CleanupName.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/delombok/resource/before/CleanupName.java b/test/delombok/resource/before/CleanupName.java
index 0d253f1e..cbc5b447 100644
--- a/test/delombok/resource/before/CleanupName.java
+++ b/test/delombok/resource/before/CleanupName.java
@@ -1,6 +1,10 @@
-class Cleanup {
- void test() throws Exception {
+class CleanupName {
+ void test() {
@lombok.Cleanup("toString") Object o = "Hello World!";
System.out.println(o);
}
+ void test2() {
+ @lombok.Cleanup(value="toString") Object o = "Hello World too!";
+ System.out.println(o);
+ }
} \ No newline at end of file