fix build

This commit is contained in:
Jussi Saurio
2025-05-19 07:29:02 +03:00
parent 7c6a4410d2
commit 092462fa74

View File

@@ -7566,9 +7566,8 @@ mod tests {
let offset = 2; // blobs data starts at offset 2
let initial_text = "hello world";
let initial_blob = initial_text.as_bytes().to_vec();
let value = ImmutableRecord::from_registers(&[Register::OwnedValue(OwnedValue::Blob(
initial_blob.clone(),
))]);
let value =
ImmutableRecord::from_registers(&[Register::Value(Value::Blob(initial_blob.clone()))]);
run_until_done(
|| {
@@ -7643,9 +7642,8 @@ mod tests {
let mut large_blob = vec![b'A'; 40960 - 11]; // insert large blob. 40960 = 10 page long.
let hello_world = b"hello world";
large_blob.extend_from_slice(hello_world);
let value = ImmutableRecord::from_registers(&[Register::OwnedValue(OwnedValue::Blob(
large_blob.clone(),
))]);
let value =
ImmutableRecord::from_registers(&[Register::Value(Value::Blob(large_blob.clone()))]);
run_until_done(
|| {