1
0
Fork 0
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:
copilot-swe-agent[bot] 2025-12-30 01:48:26 +00:00
parent 379141a8c7
commit 40fbcd5ed2

View file

@ -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();