()
| 2886 | |
| 2887 | #[test] |
| 2888 | fn test_post_commit() -> ResultTest<()> { |
| 2889 | let stdb = TestDB::durable()?; |
| 2890 | |
| 2891 | let mut tx = begin_mut_tx(&stdb); |
| 2892 | |
| 2893 | let table_id = stdb.create_table(&mut tx, my_table(AlgebraicType::I32))?; |
| 2894 | |
| 2895 | insert_three_i32s(&stdb, &mut tx, table_id)?; |
| 2896 | stdb.commit_tx(tx)?; |
| 2897 | |
| 2898 | let tx = begin_mut_tx(&stdb); |
| 2899 | assert_eq!(collect_sorted::<i32>(&stdb, &tx, table_id)?, vec![-1, 0, 1]); |
| 2900 | Ok(()) |
| 2901 | } |
| 2902 | |
| 2903 | #[test] |
| 2904 | fn test_filter_range_pre_commit() -> ResultTest<()> { |
nothing calls this directly
no test coverage detected
searching dependent graphs…