From 275cf41be5c5fb836e2b2cdf9ca6bb7442146d87 Mon Sep 17 00:00:00 2001 From: Juuz <6596629+Juuxel@users.noreply.github.com> Date: Wed, 24 Jan 2024 16:04:03 +0200 Subject: [PATCH] SrgMergerTest: Adapt to MIO update --- .../net/fabricmc/loom/test/unit/forge/SrgMergerTest.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/groovy/net/fabricmc/loom/test/unit/forge/SrgMergerTest.groovy b/src/test/groovy/net/fabricmc/loom/test/unit/forge/SrgMergerTest.groovy index 2bc689f33..f82ed0bdd 100644 --- a/src/test/groovy/net/fabricmc/loom/test/unit/forge/SrgMergerTest.groovy +++ b/src/test/groovy/net/fabricmc/loom/test/unit/forge/SrgMergerTest.groovy @@ -1,7 +1,7 @@ /* * This file is part of fabric-loom, licensed under the MIT License (MIT). * - * Copyright (c) 2022 FabricMC + * Copyright (c) 2022-2024 FabricMC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -43,7 +43,7 @@ class SrgMergerTest extends Specification { def output = mappingsDir.resolve("output.tiny") def expected = readTestData("expectedOutput.tiny") def proguardInput = extractTempFile("proguard.txt") - def extraMappings = new ForgeMappingsMerger.ExtraMappings(proguardInput, MappingFormat.PROGUARD, MappingUtil.NS_TARGET_FALLBACK, MappingUtil.NS_SOURCE_FALLBACK) + def extraMappings = new ForgeMappingsMerger.ExtraMappings(proguardInput, MappingFormat.PROGUARD_FILE, MappingUtil.NS_TARGET_FALLBACK, MappingUtil.NS_SOURCE_FALLBACK) when: merge(extraMappings, output)