mirror of
https://github.com/imjasonh/testscript-rs
synced 2026-07-18 22:58:35 +00:00
add GHA workflow (#1)
* add GHA workflow Signed-off-by: Jason Hall <jason@chainguard.dev> * fix CI Signed-off-by: Jason Hall <jason@chainguard.dev> * update readme Signed-off-by: Jason Hall <jason@chainguard.dev> * add badge Signed-off-by: Jason Hall <jason@chainguard.dev> --------- Signed-off-by: Jason Hall <jason@chainguard.dev>
This commit is contained in:
parent
fa546ce09f
commit
448cf615db
16 changed files with 381 additions and 156 deletions
|
|
@ -67,7 +67,11 @@ nested content"#;
|
|||
fs::write(&script_path, script_content).unwrap();
|
||||
|
||||
let result = run_test(&script_path);
|
||||
assert!(result.is_ok(), "Special file names test failed: {:?}", result);
|
||||
assert!(
|
||||
result.is_ok(),
|
||||
"Special file names test failed: {:?}",
|
||||
result
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
@ -161,4 +165,4 @@ cmp file1.txt file2.txt
|
|||
|
||||
let result = run_test(&script_path);
|
||||
assert!(result.is_err(), "Empty exec command should fail");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue