test/helper/omittable.rb in red-arrow-15.0.2 vs test/helper/omittable.rb in red-arrow-16.0.0
- old
+ new
@@ -35,7 +35,15 @@
message =
"Require GObject Introspection #{major}.#{minor}.#{micro} or later: " +
GObjectIntrospection::Version::STRING
omit(message)
end
+
+ def require_glib(major, minor, micro)
+ return if GLib::Version.or_later?(major, minor, micro)
+ message =
+ "Require GLib #{major}.#{minor}.#{micro} or later: " +
+ GLib::Version::STRING
+ omit(message)
+ end
end
end