Removes echo overcomplication

This commit is contained in:
Timo Sand 2019-12-30 21:03:38 +02:00
parent 550f286855
commit 340b027b5f
No known key found for this signature in database
GPG Key ID: 15FBAFAA2F132698

View File

@ -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" {