We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4e6b6a commit f2b54b9Copy full SHA for f2b54b9
1 file changed
crates/datastore/src/locking_tx_datastore/datastore.rs
@@ -3439,7 +3439,10 @@ mod tests {
3439
assert_eq!(&**inserts, [to_product(&columns[1])].as_slice());
3440
let (_, deletes) = tx_data.deletes().find(|(id, ..)| **id == ST_COLUMN_ID).unwrap();
3441
assert_eq!(&**deletes, [to_product(&columns_original[1])].as_slice());
3442
- // assert_eq!(truncated, TxTableTruncated::No);
+ assert!(
3443
+ !tx_data.truncates().contains(&ST_COLUMN_ID),
3444
+ "table should not be truncated"
3445
+ );
3446
3447
// Check that we can successfully scan using the new schema type post commit.
3448
let tx = begin_tx(&datastore);
0 commit comments