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