Skip to content

Instantly share code, notes, and snippets.

@cosmo0920
Created October 10, 2014 15:16
Show Gist options
  • Save cosmo0920/c37c611a3f3d3cc63595 to your computer and use it in GitHub Desktop.
Save cosmo0920/c37c611a3f3d3cc63595 to your computer and use it in GitHub Desktop.
diff --git a/gobject-introspection/test/test-struct-info.rb b/gobject-introspect
ion/test/test-struct-info.rb
index e3eed77..067bfbc 100644
--- a/gobject-introspection/test/test-struct-info.rb
+++ b/gobject-introspection/test/test-struct-info.rb
@@ -31,7 +31,9 @@ class TestStructInfo < Test::Unit::TestCase
end
def test_n_methods
- assert_operator(@info.n_methods, :>=, 62)
+ assert do
+ @info.n_methods >= 62
+ end
end
def test_get_method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment