Sha256: 610f516c732f886d55d2e8c732c400f5222a4b04266a71e463efbe8805b709c2
Contents?: true
Size: 254 Bytes
Versions: 123
Compression:
Stored size: 254 Bytes
Contents
require 'test_helper' require 'tins/xt' module Tins class IfPredicateTest < Test::Unit::TestCase def test_if_predicate assert_equal :foo, true.if? && :foo assert_nil false.if? && :foo assert_nil nil.if? && :foo end end end
Version data entries
123 entries across 109 versions & 8 rubygems