Skip to content

Commit

Permalink
fix(init): 添加文件初始化测试 #40
Browse files Browse the repository at this point in the history
  • Loading branch information
CarmJos committed Aug 28, 2023
1 parent 27a68ea commit 8ee0744
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion impl/yaml/src/test/java/config/DemoConfigTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,16 @@
import org.bspfsystems.yamlconfiguration.serialization.ConfigurationSerialization;
import org.junit.Test;

import java.io.IOException;

public class DemoConfigTest {

static {
ConfigurationSerialization.registerClass(SomeModel.class);
ConfigurationSerialization.registerClass(AnyModel.class);
}

protected final YAMLConfigProvider provider = EasyConfiguration.from("target/config.yml", "config.yml");
protected final YAMLConfigProvider provider = EasyConfiguration.from("target/config.yml", "test/test2/config.yml");

@Test
public void onTest() {
Expand Down
File renamed without changes.

0 comments on commit 8ee0744

Please sign in to comment.