Sha256: a6b7e0eeb25f53e2f6e7fb2304405520bad9adb08a53bbc7c813739911e1cf6a
Contents?: true
Size: 1.24 KB
Versions: 31
Compression:
Stored size: 1.24 KB
Contents
# Copyright (C) 2009 Kouhei Sutou <kou@clear-code.com> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License version 2.1 as published by the Free Software Foundation. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA class VersionTest < Test::Unit::TestCase def test_build_version assert_match(/\A\d+\.\d+\.\d+\z/, Groonga.build_version) assert_match(Groonga.build_version, Groonga::BUILD_VERSION.join(".")) end def test_version assert_match(/\A\d+\.\d+\.\d+(?:\.\d+-[a-zA-Z\d]+)?\z/, Groonga.version) assert_match(Groonga.version, Groonga::VERSION.join(".")) end def test_bindings_version assert_match(/\A\d+\.\d+\.\d+\z/, Groonga.bindings_version) assert_match(Groonga.bindings_version, Groonga::BINDINGS_VERSION.join(".")) end end
Version data entries
31 entries across 31 versions & 1 rubygems