Fix unit tests

dev/0.11
modmuss50 2021-12-04 18:47:45 +00:00
parent efddf8f35c
commit 4ace257c37
1 changed files with 4 additions and 4 deletions

View File

@ -42,7 +42,7 @@ class LayeredMappingSpecBuilderTest extends Specification {
} }
def layers = spec.layers() def layers = spec.layers()
then: then:
spec.version == "layered+hash.2192" spec.version == "layered+hash.2198"
layers.size() == 2 layers.size() == 2
layers[0].class == IntermediaryMappingsSpec layers[0].class == IntermediaryMappingsSpec
layers[1].class == MojangMappingsSpec layers[1].class == MojangMappingsSpec
@ -57,7 +57,7 @@ class LayeredMappingSpecBuilderTest extends Specification {
def layers = spec.layers() def layers = spec.layers()
def parchment = layers[2] as ParchmentMappingsSpec def parchment = layers[2] as ParchmentMappingsSpec
then: then:
spec.version == "layered+hash.863752565" spec.version == "layered+hash.863752751"
layers.size() == 3 layers.size() == 3
layers[0].class == IntermediaryMappingsSpec layers[0].class == IntermediaryMappingsSpec
layers[1].class == MojangMappingsSpec layers[1].class == MojangMappingsSpec
@ -77,7 +77,7 @@ class LayeredMappingSpecBuilderTest extends Specification {
def layers = spec.layers() def layers = spec.layers()
def parchment = layers[2] as ParchmentMappingsSpec def parchment = layers[2] as ParchmentMappingsSpec
then: then:
spec.version == "layered+hash.863752571" spec.version == "layered+hash.863752757"
layers.size() == 3 layers.size() == 3
layers[0].class == IntermediaryMappingsSpec layers[0].class == IntermediaryMappingsSpec
layers[1].class == MojangMappingsSpec layers[1].class == MojangMappingsSpec
@ -97,7 +97,7 @@ class LayeredMappingSpecBuilderTest extends Specification {
def layers = spec.layers() def layers = spec.layers()
def parchment = layers[2] as ParchmentMappingsSpec def parchment = layers[2] as ParchmentMappingsSpec
then: then:
spec.version == "layered+hash.1144427326" spec.version == "layered+hash.1144427140"
layers.size() == 3 layers.size() == 3
layers[0].class == IntermediaryMappingsSpec layers[0].class == IntermediaryMappingsSpec
layers[1].class == MojangMappingsSpec layers[1].class == MojangMappingsSpec