From: Kouhei S. <nu...@co...> - 2017-08-10 14:31:33
|
Kouhei Sutou 2017-08-10 23:31:04 +0900 (Thu, 10 Aug 2017) New Revision: b87efe04a7e3c0a9e6f9e5603366287bebb23f2b https://github.com/ruby-gnome2/pkg-config/commit/b87efe04a7e3c0a9e6f9e5603366287bebb23f2b Message: test: fix condition Modified files: test/test_pkg_config.rb Modified: test/test_pkg_config.rb (+1 -1) =================================================================== --- test/test_pkg_config.rb 2017-08-10 23:27:03 +0900 (f256940) +++ test/test_pkg_config.rb 2017-08-10 23:31:04 +0900 (1321562) @@ -12,7 +12,7 @@ class PkgConfigTest < Test::Unit::TestCase def only_pkg_config_version(major, minor) pkg_config_version = `pkg-config --version`.chomp current_major, current_minor = pkg_config_version.split(".").collect(&:to_i) - return if ([major, minor] <=> [current_major, current_minor]) < 0 + return if ([major, minor] <=> [current_major, current_minor]) <= 0 omit("Require pkg-config #{pkg_config_version} or later") end |