Skip to content

Commit f2b54b9

Browse files
committed
uncomment test assert
1 parent e4e6b6a commit f2b54b9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

crates/datastore/src/locking_tx_datastore/datastore.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3439,7 +3439,10 @@ mod tests {
34393439
assert_eq!(&**inserts, [to_product(&columns[1])].as_slice());
34403440
let (_, deletes) = tx_data.deletes().find(|(id, ..)| **id == ST_COLUMN_ID).unwrap();
34413441
assert_eq!(&**deletes, [to_product(&columns_original[1])].as_slice());
3442-
// assert_eq!(truncated, TxTableTruncated::No);
3442+
assert!(
3443+
!tx_data.truncates().contains(&ST_COLUMN_ID),
3444+
"table should not be truncated"
3445+
);
34433446

34443447
// Check that we can successfully scan using the new schema type post commit.
34453448
let tx = begin_tx(&datastore);

0 commit comments

Comments
 (0)