Coverage Report

Created: 2024-09-26 18:19

/home/runner/actions-runner/_work/fuel-vm/fuel-vm/fuel-merkle/tests-data/tests-data.rs
Line
Count
Source (jump to first uncovered line)
1
use std::{
2
    error::Error,
3
    fs::File,
4
    path::Path,
5
};
6
7
use fuel_merkle_test_helpers::data::sparse::Test;
8
9
19
fn test(path: &Path) -> datatest_stable::Result<()> {
10
19
    let data_file = File::open(path)
?0
;
11
19
    let test: Test = serde_yaml::from_reader(data_file)
?0
;
12
19
    test.execute().map_err(|e| 
Box::new(e) as Box<dyn Error>0
)
13
19
}
14
15
datatest_stable::harness!(test, "./tests-data/fixtures", r"^.*/*");