Sha256: c85e4b75e59dea88162da18fd3bc1a9062914c5b73c718af7f2cb6583daf856b
Contents?: true
Size: 367 Bytes
Versions: 30
Compression:
Stored size: 367 Bytes
Contents
# frozen_string_literal: true require 'timezone' require 'minitest/autorun' begin require 'mathn' class TestTimezone < ::Minitest::Test parallelize_me! def test_lookup_mathn_compatibility Timezone['America/Regina'].utc_offset end end rescue LoadError => e raise e unless e.path == 'mathn' # Ruby 2.5 doesn't have `mathn` in Stdlib end
Version data entries
30 entries across 30 versions & 1 rubygems