test/c_nodes_test.rb in cast-0.3.0 vs test/c_nodes_test.rb in cast-0.3.1

- old
+ new

@@ -192,11 +192,11 @@ assert(c.wide?) assert_equal('L', c.prefix) c.wide = false assert(!c.wide?) - assert_equal(nil, c.prefix) + assert_nil(c.prefix) end def test_string_literal_wide s = C::StringLiteral.new('abc', 'L') assert(s.wide?) assert_equal('L', s.prefix) @@ -217,8 +217,8 @@ assert(s.wide?) assert_equal('L', s.prefix) s.wide = false assert(!s.wide?) - assert_equal(nil, s.prefix) + assert_nil(s.prefix) end end