-
Notifications
You must be signed in to change notification settings - Fork 327
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
141 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -347,7 +347,7 @@ mod tests { | |
mise ~/config/config.toml tools: [email protected] | ||
mise tiny is defined in ~/cwd/.test-tool-versions which overrides the global config (~/config/config.toml) | ||
"###); | ||
assert_snapshot!(file::read_to_string(&cf_path).unwrap(), @r###" | ||
assert_snapshot!(file::read_to_string(&cf_path).unwrap(), @r##" | ||
[env] | ||
TEST_ENV_VAR = 'test-123' | ||
|
@@ -360,6 +360,16 @@ mod tests { | |
run = 'echo "linting!"' | ||
[tasks.test] | ||
run = 'echo "testing!"' | ||
[tasks."shell invalid"] | ||
shell = 'bash' | ||
run = 'echo "invalid shell"' | ||
[tasks.shell] | ||
shell = 'bash -c' | ||
run = ''' | ||
#MISE outputs=["$MISE_PROJECT_ROOT/test/test-build-output.txt"] | ||
cd "$MISE_PROJECT_ROOT" || exit 1 | ||
echo "using shell $0" > test-build-output.txt | ||
''' | ||
[settings] | ||
always_keep_download= true | ||
always_keep_install= true | ||
|
@@ -369,7 +379,7 @@ mod tests { | |
[tools] | ||
tiny = "2" | ||
"###); | ||
"##); | ||
|
||
file::write(&cf_path, orig).unwrap(); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters