diff options
author | Roel Spilker <r.spilker@gmail.com> | 2020-01-15 00:53:20 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2020-01-20 14:10:15 +0100 |
commit | 091d14bd73e4da1d2b3e34f0648eaa63473c3b1c (patch) | |
tree | f993ecaf8ac6b67f9c1ae7236fcb2e7c34dc4977 /test/core | |
parent | 660a056240734659fe70fc9381024896becd5fba (diff) | |
download | lombok-091d14bd73e4da1d2b3e34f0648eaa63473c3b1c.tar.gz lombok-091d14bd73e4da1d2b3e34f0648eaa63473c3b1c.tar.bz2 lombok-091d14bd73e4da1d2b3e34f0648eaa63473c3b1c.zip |
Config import: Allow imports in lombok.config
Diffstat (limited to 'test/core')
-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); } |