no-mistakes-postgres-engine 0.109.128

PostgreSQL embedded SQL extraction, schema catalog, and replay-safety analysis for no-mistakes
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use super::*;

#[test]
fn a_direct_throw_excludes_only_its_unreachable_assignment_path() {
    let calls = calls("variants-branch-throw.ts");
    assert_eq!(calls.len(), 5);
    assert_eq!(
        texts(&calls[0]),
        ["CREATE TABLE finite_branch (id int)", "SELECT 1"]
    );
    for call in &calls[1..] {
        assert!(call.is_unanalyzable(), "{call:#?}");
    }
}