Sha256: dde8ed773f858be8a8ab8723413ce7ec8e236c0ae2efae1cd1e83c4acccb37dc

Contents?: true

Size: 293 Bytes

Versions: 2

Compression:

Stored size: 293 Bytes

Contents

require File.expand_path("./helper", File.dirname(__FILE__))

test "version_str_to_i" do
  assert_equal 200000, version_str_to_i('2.0.0')
  assert_equal 202020, version_str_to_i('2.2.2')
  assert_equal 202022, version_str_to_i('2.2.22')
  assert_equal 222222, version_str_to_i('22.22.22')
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
gorsuch-redis-3.0.0.rc1 test/helper_test.rb
redis-3.0.0.rc1 test/helper_test.rb