Skip to content

Commit

Permalink
fix test mod
Browse files Browse the repository at this point in the history
  • Loading branch information
MrNavaStar authored Aug 11, 2024
1 parent 0731bcf commit 0816fa4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/testMod/java/me/mrnavastar/sqlib/TestMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ private void testAllTransactions() {

// Test JSON
JsonObject jsonElement = new JsonObject();
container.put(MinecraftTypes.JSON, "json", jsonElement);
assertEquals(jsonElement, container.get(MinecraftTypes.JSON, "json").orElseThrow());
container.put(GsonTypes.OBJECT, "json", jsonElement);
assertEquals(jsonElement, container.get(GsonTypes.OBJECT, "json").orElseThrow());

// Test NBT
NbtCompound nbtCompound = new NbtCompound();
Expand Down Expand Up @@ -210,4 +210,4 @@ public void onInitialize() {
//testStoreFunctions();
System.out.println("--------------- Done ----------------");
}
}
}

0 comments on commit 0816fa4

Please sign in to comment.