添加测试功能
This commit is contained in:
parent
90ab2135ed
commit
04b4cf3047
@ -20,6 +20,7 @@ serde = { version = "1.0", features = ["derive"], optional = true }
|
||||
[features]
|
||||
default = []
|
||||
serde = ["dep:serde"]
|
||||
test = []
|
||||
|
||||
# test dep
|
||||
[dev-dependencies]
|
||||
|
@ -515,6 +515,7 @@ mod nbt {
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(feature = "test")]
|
||||
fn file_sys_test() {
|
||||
// 测试所有能直接找到的 .nbt 文件
|
||||
// es -r .*\.nbt
|
||||
|
Loading…
Reference in New Issue
Block a user