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