Skip to content

Commit b98b873

Browse files
committed
fix UT: \u0000 is not allowed in some version
1 parent f1df0b7 commit b98b873

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/bytecode_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ fn run_one_test(json_str: &str, object_type: bytecode::ObjectType) -> Result<()>
5050
#[test]
5151
fn test_bytecode() {
5252
// unicode test
53-
run_one_test(r#"{"a":"ÀÁÂÃÄÅÆÇÈÉÊËÌ\u0000 abcd \n 你好世界"}"#, bytecode::ObjectType::Plist).unwrap();
53+
run_one_test(r#"{"a":"ÀÁÂÃÄÅÆÇÈÉÊËÌ abcd \n 你好世界"}"#, bytecode::ObjectType::Plist).unwrap();
5454

5555
for object_type in vec![bytecode::ObjectType::Plist,
5656
bytecode::ObjectType::Alist,

0 commit comments

Comments
 (0)