Skip to content

Commit 42f7117

Browse files
committed
Fix the test to make it pass
1 parent e2b9fbf commit 42f7117

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

build-tools-internal/src/test/groovy/org/elasticsearch/gradle/internal/info/GlobalBuildInfoPluginSpec.groovy

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,15 @@ import spock.lang.Specification
1414
import spock.lang.TempDir
1515

1616
import org.elasticsearch.gradle.Version
17+
import org.elasticsearch.gradle.VersionProperties
1718
import org.elasticsearch.gradle.internal.BwcVersions
1819
import org.gradle.api.Project
1920
import org.gradle.api.provider.Provider
2021
import org.gradle.api.provider.ProviderFactory
2122
import org.gradle.testfixtures.ProjectBuilder
2223

2324
import java.nio.file.Path
25+
import java.util.concurrent.Callable
2426

2527
class GlobalBuildInfoPluginSpec extends Specification {
2628

@@ -53,8 +55,8 @@ class GlobalBuildInfoPluginSpec extends Specification {
5355
public static final Version V_9_0_2 = new Version(9_00_02_99);
5456
public static final Version V_9_0_3 = new Version(9_00_03_99);
5557
public static final Version V_9_1_0 = new Version(9_01_00_99);
56-
public static final Version CURRENT = V_9_1_0;
57-
58+
public static final Version V_9_2_0 = new Version(9_02_00_99);
59+
public static final Version CURRENT = V_9_2_0;
5860
}
5961
"""
6062
}
@@ -89,7 +91,7 @@ class GlobalBuildInfoPluginSpec extends Specification {
8991
Map<String, Object> branchesFileContent = [
9092
branches: branches.collect { branch ->
9193
[
92-
branch: branch.name(),
94+
branch : branch.name(),
9395
version: branch.version().toString(),
9496
]
9597
}

0 commit comments

Comments
 (0)