message: fix test for unordered output
diff: @@ -34,29 +34,32 @@ describe("Forge", () => {
  it("should read mcmod.info in jar", async function () {
  const metadata = await Forge.readModMetaData(`${this.assets}/sample-mod.jar`);
  - assert.equal(metadata[0].modid, "soundfilters");
  - assert.equal(metadata[0].name, "Sound Filters");
  - assert.equal(metadata[0].description, "Adds reveb to caves, as well as muted sounds underwater/in lava, and behind walls.");
  - assert.equal(metadata[0].version, "0.8_for_1,8");
  - assert.equal(metadata[0].mcversion, "1.8");
  - assert.equal(metadata[0].credits, "Made by Tmtravlr.");
  + assert(metadata.some((m) =>
  + m.modid === "soundfilters" &&
  + m.name === "Sound Filters" &&
  + m.description === "Adds reveb to caves, as well as muted sounds underwater/in lava, and behind walls." &&
  + m.version === "0.8_for_1,8" &&
  + m.mcversion === "1.8" &&
  + m.credits === "Made by Tmtravlr.",
  + ));
  });
  it("should read @Mod in jar", async function () {
  const metadata = await Forge.readModMetaData(`${this.assets}/sample-mod.jar`);
  - assert.equal(metadata[2].modid, "NuclearCraft");
  - assert.equal(metadata[2].version, "1.9e");
  + assert(metadata.some((m) => m.modid === "NuclearCraft" && m.version === "1.9e"));
  });
  it("should detect optifine from class in jar", async function () {
  const metadata = await Forge.readModMetaData(`${this.assets}/sample-mod.jar`);
  - assert.equal(metadata[1].modid, "OptiFine");
  - assert.equal(metadata[1].name, "OptiFine");
  - assert.equal(metadata[1].description, "OptiFine is a Minecraft optimization mod. It allows Minecraft to run faster and look better with full support for HD textures and many configuration options.");
  - assert.equal(metadata[1].version, "HD_U_C5");
  - assert.equal(metadata[1].mcversion, "1.12.1");
  - assert.equal(metadata[1].url, "https://optifine.net");
  + assert(metadata.some((m) =>
  + m.modid === "OptiFine" &&
  + m.name === "OptiFine" &&
  + m.description === "OptiFine is a Minecraft optimization mod. It allows Minecraft to run faster and look better with full support for HD textures and many configuration options." &&
  + m.version === "HD_U_C5" &&
  + m.mcversion === "1.12.1" &&
  + m.url === "https://optifine.net",
  + ));
  });
  @@ -109,4 +112,4 @@ describe("Forge", () => {
  assert.equal(config.versioncheck.properties[2].type, "B");
  });
  });
  -});
  +})
  