(result: PristineResult<Pristine>)
| 793 | } |
| 794 | |
| 795 | fn expect_unsupported(result: PristineResult<Pristine>) -> PristineError { |
| 796 | match result { |
| 797 | Ok(_) => panic!("open must reject unsupported repository capabilities"), |
| 798 | Err(error @ PristineError::UnsupportedRequiredCapabilities { .. }) => error, |
| 799 | Err(error) => panic!("expected unsupported capability error, got {error}"), |
| 800 | } |
| 801 | } |
| 802 | |
| 803 | #[test] |
| 804 | fn unsupported_capability_rejects_all_open_modes_before_table_initialization() { |
no outgoing calls