Skip to content

Commit e754d67

Browse files
committed
Fix test to compensate for different ls output on Fedora/Centos
1 parent 32a825c commit e754d67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/installer.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ load test_helper
2222
PREFIX="${PWD}/usr" run "${BATS_TEST_DIRNAME}/../install.sh"
2323
assert_success ""
2424

25-
run $BASH -c 'ls -l usr/share/ruby-build | tail -2 | cut -d" " -f1'
25+
run $BASH -c 'ls -l usr/share/ruby-build | tail -2 | cut -c1-10'
2626
assert_output <<OUT
2727
-rw-r--r--
2828
-rw-r--r--

0 commit comments

Comments
 (0)