Ruby 1.9 compatibility

This commit is contained in:
Adam Roben
2014-12-22 17:28:25 -05:00
parent ada6f6882a
commit 5fa85f268f

View File

@@ -39,7 +39,7 @@ class TestGrammars < Minitest::Test
def test_local_scopes_are_in_sync
actual = YAML.load(`"#{File.join(ROOT, "script", "convert-grammars")}" --output - --no-install --no-remote 2>/dev/null`)
assert_predicate $?, :success?
assert $?.success?, "script/convert-grammars failed"
# We're not checking remote grammars. That can take a long time and make CI
# flaky if network conditions are poor.