harn-vm 0.10.166

Async bytecode virtual machine for the Harn programming language
Documentation
1
2
3
4
5
6
7
8
9
10
11
use super::{run_trigger_harness_fixture, TRIGGER_TEST_FIXTURES};

#[tokio::test(flavor = "current_thread")]
async fn every_trigger_harness_fixture_reports_success() {
    for fixture in TRIGGER_TEST_FIXTURES {
        let result = run_trigger_harness_fixture(fixture)
            .await
            .unwrap_or_else(|error| panic!("{fixture} should run: {error}"));
        assert!(result.ok, "{fixture} should report success: {result:?}");
    }
}