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); {