From 28be9980407bc011a2bb4170bfe7334c050e2e91 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Wed, 11 Jan 2023 23:52:27 +0100 Subject: [tests] Added `ant test.ecj19` and updated tests Tests updated because ecj finally fixed their pretty printer for records, yay! --- test/transform/resource/after-ecj/LoggerFloggerRecord.java | 4 ++-- test/transform/resource/after-ecj/NonNullOnRecord3.java | 6 +----- 2 files changed, 3 insertions(+), 7 deletions(-) (limited to 'test/transform/resource') diff --git a/test/transform/resource/after-ecj/LoggerFloggerRecord.java b/test/transform/resource/after-ecj/LoggerFloggerRecord.java index 85ff1641..fde69e74 100644 --- a/test/transform/resource/after-ecj/LoggerFloggerRecord.java +++ b/test/transform/resource/after-ecj/LoggerFloggerRecord.java @@ -1,7 +1,7 @@ -// version 14: +// version 19: import lombok.extern.flogger.Flogger; class LoggerFloggerRecord { - public static @Flogger record Inner(com log) { + public @Flogger record Inner(com log) { private static final com.google.common.flogger.FluentLogger log = com.google.common.flogger.FluentLogger.forEnclosingClass(); /* Implicit */ private final String x; () { diff --git a/test/transform/resource/after-ecj/NonNullOnRecord3.java b/test/transform/resource/after-ecj/NonNullOnRecord3.java index 44c00098..37f0afcf 100644 --- a/test/transform/resource/after-ecj/NonNullOnRecord3.java +++ b/test/transform/resource/after-ecj/NonNullOnRecord3.java @@ -1,11 +1,7 @@ -// version 14: +// version 19: import lombok.NonNull; public record NonNullOnRecord3(String a) { /* Implicit */ private final String a; - public NonNullOnRecord3(String a) { - super(); - .a = a; - } public NonNullOnRecord3(String a) { super(); this.a = a; -- cgit