From 7ba2c3f1e13a9347dd1d6b3570dff65a1bd57621 Mon Sep 17 00:00:00 2001 From: CoolMineman <62723322+CoolMineman@users.noreply.github.com> Date: Fri, 30 Dec 2022 03:25:52 -0600 Subject: [PATCH] update hashes --- .../coolcrabs/brachyura/fabric/J8FabricProjectTest.java | 2 +- .../coolcrabs/brachyura/fabric/NoMixinProjectTest.java | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/brachyura-minecraft/src/test/java/io/github/coolcrabs/brachyura/fabric/J8FabricProjectTest.java b/brachyura-minecraft/src/test/java/io/github/coolcrabs/brachyura/fabric/J8FabricProjectTest.java index 49bb754f..c9e38e9b 100644 --- a/brachyura-minecraft/src/test/java/io/github/coolcrabs/brachyura/fabric/J8FabricProjectTest.java +++ b/brachyura-minecraft/src/test/java/io/github/coolcrabs/brachyura/fabric/J8FabricProjectTest.java @@ -66,7 +66,7 @@ void compile() { long s2 = System.currentTimeMillis() - s; System.out.println(s2); if (JvmUtil.CURRENT_JAVA_VERSION == 8) // TestMod.java produces different cp order in j8 and j17 - TestUtil.assertSha256(b.jar, "daad101c55eaedccbe8b9650666c63f1e6a5541911c9e202aa71184a2366e4ad"); + TestUtil.assertSha256(b.jar, "ad51e8ff297d02d7388ddc28f64f85bd5e960ab9120a1172ace969aa9a785835"); } catch (Exception e) { e.printStackTrace(); throw e; diff --git a/brachyura-minecraft/src/test/java/io/github/coolcrabs/brachyura/fabric/NoMixinProjectTest.java b/brachyura-minecraft/src/test/java/io/github/coolcrabs/brachyura/fabric/NoMixinProjectTest.java index 41b22422..bc38a170 100644 --- a/brachyura-minecraft/src/test/java/io/github/coolcrabs/brachyura/fabric/NoMixinProjectTest.java +++ b/brachyura-minecraft/src/test/java/io/github/coolcrabs/brachyura/fabric/NoMixinProjectTest.java @@ -13,6 +13,7 @@ import io.github.coolcrabs.brachyura.fabric.FabricContext.ModDependencyCollector; import io.github.coolcrabs.brachyura.minecraft.Minecraft; import io.github.coolcrabs.brachyura.minecraft.VersionMeta; +import io.github.coolcrabs.brachyura.util.JvmUtil; import net.fabricmc.mappingio.tree.MappingTree; public class NoMixinProjectTest { @@ -56,8 +57,8 @@ void compile() { JavaJarDependency b = fabricProject.build(); long s2 = System.currentTimeMillis() - s; System.out.println(s2); - // Seems to work accross java versions for now - TestUtil.assertSha256(b.jar, "51f89d5ffdbae7c6a861168d12f7a4b852dbbd2ad2778342fe97224b12da454b"); + if (JvmUtil.CURRENT_JAVA_VERSION == 8) + TestUtil.assertSha256(b.jar, "28752bdbdc185ee2629ccb79667737ca08bdcb3fef679fceac61564350689b69"); } catch (Exception e) { e.printStackTrace(); throw e;