mirror of
https://github.com/imjasonh/testscript-rs
synced 2026-07-09 01:26:40 +00:00
Fix trailing newline inconsistency in test scripts
Co-authored-by: imjasonh <210737+imjasonh@users.noreply.github.com>
This commit is contained in:
parent
379141a8c7
commit
40fbcd5ed2
1 changed files with 2 additions and 4 deletions
|
|
@ -95,8 +95,7 @@ stdout "Value: hello_from_setup""#
|
|||
} else {
|
||||
r#"# Test setup hook can modify environment (Unix)
|
||||
exec sh -c "echo Value: $TEST_FROM_SETUP"
|
||||
stdout "Value: hello_from_setup"
|
||||
"#
|
||||
stdout "Value: hello_from_setup"#
|
||||
};
|
||||
|
||||
fs::write(&script_path, script_content).unwrap();
|
||||
|
|
@ -129,8 +128,7 @@ stdout "FOO=value1 BAR=value2 BAZ=value3""#
|
|||
} else {
|
||||
r#"# Test setup hook can set multiple environment variables (Unix)
|
||||
exec sh -c "echo FOO=$FOO BAR=$BAR BAZ=$BAZ"
|
||||
stdout "FOO=value1 BAR=value2 BAZ=value3"
|
||||
"#
|
||||
stdout "FOO=value1 BAR=value2 BAZ=value3"#
|
||||
};
|
||||
|
||||
fs::write(&script_path, script_content).unwrap();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue