mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-19 15:05:47 +01:00
fix build
This commit is contained in:
@@ -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(
|
||||
|| {
|
||||
|
||||
Reference in New Issue
Block a user