更新NbtValue的断言语句为正确的返回结果
This commit is contained in:
parent
af5b235995
commit
cec3b191b9
@ -23,6 +23,10 @@ pub enum NbtVersion {
|
||||
BedrockNetVarInt,
|
||||
}
|
||||
|
||||
// pub trait Nbt {
|
||||
|
||||
// }
|
||||
|
||||
/// Error
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
pub enum NbtError {
|
||||
|
@ -247,7 +247,7 @@ mod nbt {
|
||||
Some("hello world".to_string()),
|
||||
vec![("name".to_string(), NbtValue::String("Bananrama".to_string()))],
|
||||
);
|
||||
assert_eq!(data, correct_data)
|
||||
assert_eq!(data, Ok(correct_data))
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
Loading…
Reference in New Issue
Block a user