mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 09:38:16 -07:00
Removes echo overcomplication
This commit is contained in:
parent
550f286855
commit
340b027b5f
@ -38,8 +38,8 @@ teardown() {
|
|||||||
run asdf update
|
run asdf update
|
||||||
[ "$status" -eq 0 ]
|
[ "$status" -eq 0 ]
|
||||||
cd $ASDF_DIR
|
cd $ASDF_DIR
|
||||||
echo $(git tag) | grep $tag
|
git tag | grep $tag
|
||||||
[ "$status" -eq 0 ]
|
[ "$?" -eq 0 ]
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "asdf update should checkout the latest tag when configured with use_release_candidates = yes" {
|
@test "asdf update should checkout the latest tag when configured with use_release_candidates = yes" {
|
||||||
@ -49,8 +49,8 @@ teardown() {
|
|||||||
run asdf update
|
run asdf update
|
||||||
[ "$status" -eq 0 ]
|
[ "$status" -eq 0 ]
|
||||||
cd $ASDF_DIR
|
cd $ASDF_DIR
|
||||||
echo $(git tag) | grep $tag
|
git tag | grep $tag
|
||||||
[ "$status" -eq 0 ]
|
[ "$?" -eq 0 ]
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "asdf update is a noop for non-git repos" {
|
@test "asdf update is a noop for non-git repos" {
|
||||||
|
Loading…
Reference in New Issue
Block a user