From 148f6e448e7c48a41efe318895d4fd1a09ddc301 Mon Sep 17 00:00:00 2001 From: xpple Date: Thu, 25 Jul 2024 23:58:56 +0200 Subject: [PATCH] This looks worse, but okay --- src/test/java/net/fabricmc/test/VersionParsingTests.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/test/java/net/fabricmc/test/VersionParsingTests.java b/src/test/java/net/fabricmc/test/VersionParsingTests.java index ea9d78f07..8540c3bc6 100644 --- a/src/test/java/net/fabricmc/test/VersionParsingTests.java +++ b/src/test/java/net/fabricmc/test/VersionParsingTests.java @@ -341,9 +341,11 @@ public static void main(String[] args) throws Exception { testTrue(tryParseCommitHash("d9a000670180e73569a6983c423dd4299278afda", "github.com/fabricMC/fabric-loader/")); // Test: Comparing Commit Hash versions. - Map contactMap = new HashMap() {{ - put("sources", "https://github.com/fabricMC/fabric-loader/"); - }}; + Map contactMap = new HashMap() { + { + put("sources", "https://github.com/fabricMC/fabric-loader/"); + } + }; ContactInformation contact = new ContactInformationImpl(contactMap); {