File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -146,8 +146,8 @@ jobs:
146146 echo "Test 4: czruby version"
147147 source fn/czruby
148148 version_output=$(czruby -V 2>&1)
149- if [[ "$version_output" == "2 .0.0" ]]; then
150- echo " PASS: Version is 2 .0.0"
149+ if [[ "$version_output" == "3 .0.0" ]]; then
150+ echo " PASS: Version is 3 .0.0"
151151 else
152152 echo " FAIL: Unexpected version output: $version_output"
153153 exit 1
Original file line number Diff line number Diff line change 1717 print -Pn -f "%-20s %s\n" -- "--purge" "Remove invalid configs"
1818 ;;
1919 -V|--version)
20- print "2 .0.0"
20+ print "3 .0.0"
2121 ;;
2222 "") # show available rubies
2323 local marked ruby_root ruby_ver ruby_eng key
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ test_version_output() {
3333 local output
3434 output=$( czruby -V 2>&1 )
3535
36- assert_equals " 2 .0.0" " $output " " Version should be 2 .0.0" || return 1
36+ assert_equals " 3 .0.0" " $output " " Version should be 3 .0.0" || return 1
3737}
3838
3939# Test: Version long option
@@ -43,7 +43,7 @@ test_version_long_option() {
4343 local output
4444 output=$( czruby --version 2>&1 )
4545
46- assert_equals " 2 .0.0" " $output " " Version should be 2 .0.0 with --version" || return 1
46+ assert_equals " 3 .0.0" " $output " " Version should be 3 .0.0 with --version" || return 1
4747}
4848
4949# Test: Table display (no arguments)
You can’t perform that action at this time.
0 commit comments