Fix no_object build.
This commit is contained in:
parent
aa8cc8f719
commit
ac8324ae41
@ -138,7 +138,7 @@ fn test_blobs_parse() -> Result<(), Box<EvalAltResult>> {
|
||||
|
||||
assert_eq!(
|
||||
engine.eval::<Blob>(
|
||||
"let x = blob(16, 0); x.write_be(0, 8, 0x1234567890abcdef); x.write_be(8, 8, 0xabcdef1234567890); x"
|
||||
"let x = blob(16, 0); write_be(x, 0, 8, 0x1234567890abcdef); write_be(x, 8, 8, 0xabcdef1234567890); x"
|
||||
)?,
|
||||
vec![0x12, 0x34, 0x56, 0x78, 0x90, 0xab, 0xcd, 0xef, 0xab, 0xcd, 0xef, 0x12, 0x34, 0x56, 0x78, 0x90]
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user