diff --git a/test/rbenv.bats b/test/rbenv.bats index 5b52adc1..4a6d1414 100644 --- a/test/rbenv.bats +++ b/test/rbenv.bats @@ -5,7 +5,7 @@ load test_helper @test "blank invocation" { run rbenv assert_success - assert [ "${lines[0]}" = "rbenv 0.4.0" ] + assert_line 0 "$(rbenv---version)" } @test "invalid command" {