Skip to content

Commit 62573f3

Browse files
committed
refactor: bashunit_upgrade_test simplify condicion
1 parent 8528934 commit 62573f3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/acceptance/bashunit_upgrade_test.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ HAS_DOWNLOADER=false
99
HAS_GIT=false
1010

1111
function set_up_before_script() {
12-
env::active_internet_connection
13-
if [[ $? -eq 0 ]]; then
12+
if env::active_internet_connection; then
1413
ACTIVE_INTERNET=true
1514
fi
1615

0 commit comments

Comments
 (0)