diff options
Diffstat (limited to 'test/core/src')
-rw-r--r-- | test/core/src/lombok/LombokTestSource.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/core/src/lombok/LombokTestSource.java b/test/core/src/lombok/LombokTestSource.java index ba0aa972..d7d86a1b 100644 --- a/test/core/src/lombok/LombokTestSource.java +++ b/test/core/src/lombok/LombokTestSource.java @@ -41,6 +41,7 @@ import org.junit.Assert; import lombok.core.LombokImmutableList; import lombok.core.configuration.BubblingConfigurationResolver; +import lombok.core.configuration.ConfigurationParser.Context; import lombok.core.configuration.ConfigurationProblemReporter; import lombok.core.configuration.ConfigurationResolver; import lombok.core.configuration.StringConfigurationSource; @@ -244,7 +245,7 @@ public class LombokTestSource { } }; - this.configuration = new BubblingConfigurationResolver(Collections.singleton(StringConfigurationSource.forString(conf, reporter, file.getAbsolutePath()))); + this.configuration = new BubblingConfigurationResolver(Collections.singleton(StringConfigurationSource.forString(conf, reporter, Context.fromFile(file)))); this.formatPreferences = Collections.unmodifiableMap(formats); } |