Sha256: ffb0d9b0db59f30f7674479c85464b146eb80b2500fdfdaef677b243de01833c
Contents?: true
Size: 434 Bytes
Versions: 32
Compression:
Stored size: 434 Bytes
Contents
# frozen_string_literal: true require 'timezone/nil_zone' require 'minitest/autorun' class TestNilZone < ::Minitest::Test parallelize_me! def setup @zone = Timezone::NilZone.new end def test_name assert_nil @zone.name end def test_to_s assert_equal 'NilZone', @zone.to_s end def test_inspect assert '#<Timezone::NilZone>', @zone.inspect end def test_valid? refute @zone.valid? end end
Version data entries
32 entries across 32 versions & 1 rubygems