-
Notifications
You must be signed in to change notification settings - Fork 322
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I think I prefer this table library, testing it out on 1 command for now
- Loading branch information
Showing
15 changed files
with
208 additions
and
143 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -2,8 +2,8 @@ | |
|
||
assert "mise use -g dummy@ref:master" | ||
assert "mise use tiny@3" | ||
assert_contains "mise ls" "dummy ref:master ~/.config/mise/config.toml ref:master" | ||
assert_contains "mise ls tiny" "tiny 3.1.0 ~/workdir/mise.toml 3" | ||
assert_contains "mise ls" "dummy ref:master ~/.config/mise/config.toml ref:master" | ||
assert_contains "mise ls tiny" "tiny 3.1.0 ~/workdir/mise.toml 3" | ||
assert "mise i [email protected]" | ||
assert_contains "mise ls" "tiny 2.0.0" | ||
assert_not_contains "mise ls -c" "tiny 2.0.0" | ||
|
@@ -24,8 +24,8 @@ assert "cat json | jq -r '.tiny[1].version'" "3.1.0" | |
assert "cat json | jq -r '.tiny[1].install_path'" "$MISE_DATA_DIR/installs/tiny/3.1.0" | ||
|
||
assert "mise rm [email protected]" | ||
assert_contains "mise ls tiny" "tiny 3.1.0 (missing) ~/workdir/mise.toml 3" | ||
assert_contains "mise ls --missing tiny" "tiny 3.1.0 (missing) ~/workdir/mise.toml 3" | ||
assert_contains "mise ls tiny" "tiny 3.1.0 (missing) ~/workdir/mise.toml 3" | ||
assert_contains "mise ls --missing tiny" "tiny 3.1.0 (missing) ~/workdir/mise.toml 3" | ||
assert_not_contains "mise ls --missing tiny" "2.0.0" | ||
|
||
assert_fail "mise ls missing-tool" "missing-tool not found in mise tool registry" | ||
|
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 |
---|---|---|
|
@@ -29,21 +29,21 @@ rm -f .tool-versions | |
echo "tools.dummy = 'prefix:1'" >mise.toml | ||
mise uninstall dummy --all | ||
mkdir -p "$MISE_DATA_DIR/installs/dummy/1.0.0" | ||
assert "mise ls dummy --outdated" "dummy 1.0.0 (outdated) ~/workdir/mise.toml prefix:1" | ||
assert "mise ls dummy --outdated" "dummy 1.0.0 (outdated) ~/workdir/mise.toml prefix:1" | ||
assert "mise up -n" "Would uninstall [email protected] | ||
Would install [email protected]" | ||
mise up | ||
assert "mise ls dummy" "dummy 1.1.0 ~/workdir/mise.toml prefix:1" | ||
assert "mise ls dummy" "dummy 1.1.0 ~/workdir/mise.toml prefix:1" | ||
assert "mise up dummy -n --bump" "Would uninstall [email protected] | ||
Would install [email protected] | ||
Would bump dummy@prefix:2 in ~/workdir/mise.toml" | ||
mise up dummy --bump | ||
assert "mise ls dummy" "dummy 2.0.0 ~/workdir/mise.toml prefix:2" | ||
assert "mise ls dummy" "dummy 2.0.0 ~/workdir/mise.toml prefix:2" | ||
echo "tools.dummy = 'prefix:1'" >mise.toml | ||
mise uninstall dummy --all | ||
mise i [email protected] | ||
assert "mise up dummy -n --bump" "Would uninstall [email protected] | ||
Would install [email protected] | ||
Would bump dummy@prefix:2 in ~/workdir/mise.toml" | ||
mise up dummy --bump | ||
assert "mise ls dummy" "dummy 2.0.0 ~/workdir/mise.toml prefix:2" | ||
assert "mise ls dummy" "dummy 2.0.0 ~/workdir/mise.toml prefix:2" |
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
Oops, something went wrong.