Skip to content

Commit 94db44b

Browse files
authored
Merge pull request asdf-vm#644 from asdf-vm/tb/fix-hanging-test
Fix hanging 'asdf update is a noop for non-git repos' test
2 parents 2a1c7c3 + 84ab5b7 commit 94db44b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/update_command.bats

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ teardown() {
5454
}
5555

5656
@test "asdf update is a noop for non-git repos" {
57-
(cd $ASDF_DIR && rm -r .git/)
57+
rm -rf $ASDF_DIR/.git/
5858
run asdf update
5959
[ "$status" -eq 1 ]
6060
[ "$(echo -e "Update command disabled. Please use the package manager that you used to install asdf to upgrade asdf.")" == "$output" ]

0 commit comments

Comments
 (0)