diff --git a/format/yaml/src/test/java/org/spongepowered/configurate/yaml/YamlConfigurationLoaderTest.java b/format/yaml/src/test/java/org/spongepowered/configurate/yaml/YamlConfigurationLoaderTest.java index a5a087f9..5f20e86c 100644 --- a/format/yaml/src/test/java/org/spongepowered/configurate/yaml/YamlConfigurationLoaderTest.java +++ b/format/yaml/src/test/java/org/spongepowered/configurate/yaml/YamlConfigurationLoaderTest.java @@ -184,60 +184,6 @@ void testComplexKeys() throws ConfigurateException { assertEquals("cat", node.node("mapping", Collections.singletonMap("name", "Meow")).getString()); } - @Test - void testRoundtripEssX(final @TempDir Path tempDir) throws IOException { - final URL source = this.resource("essx-example.yml"); - final Path destination = tempDir.resolve("essx-example-roundtrip.yml"); - - final YamlConfigurationLoader loader = YamlConfigurationLoader.builder() - .path(destination) - .url(source) - .indent(2) - .nodeStyle(NodeStyle.BLOCK) - .build(); - - final ConfigurationNode sourceNode = loader.load(); - loader.save(sourceNode); - - assertContentsSame(source, destination); - } - - @Test - void testRoundtripEssXLegacy(final @TempDir Path tempDir) throws IOException { - final URL source = this.resource("essx-legacy.yml"); - final Path destination = tempDir.resolve("essx-legacy-roundtrip.yml"); - - final YamlConfigurationLoader loader = YamlConfigurationLoader.builder() - .path(destination) - .url(source) - .nodeStyle(NodeStyle.BLOCK) - .indent(2) - .build(); - - final ConfigurationNode sourceNode = loader.load(); - loader.save(sourceNode); - - assertContentsSame(source, destination); - } - - @Test - void testRoundtripMobCleaner(final @TempDir Path tempDir) throws IOException { - final URL source = this.resource("mobcleaner-example.yml"); - final Path destination = tempDir.resolve("mobcleaner-example-roundtrip.yml"); - - final YamlConfigurationLoader loader = YamlConfigurationLoader.builder() - .path(destination) - .url(source) - .indent(2) - .nodeStyle(NodeStyle.BLOCK) - .build(); - - final ConfigurationNode sourceNode = loader.load(); - loader.save(sourceNode); - - assertContentsSame(source, destination); - } - private URL resource(final String path) { final @Nullable URL res = this.getClass().getResource(path); if (res == null) {