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

- old
+ new

@@ -4,11 +4,11 @@ # ###################################################################### require 'test_helper' -class MiscTests < Test::Unit::TestCase +class MiscTests < Minitest::Test # ------------------------------------------------------------------ # Declarator#declaration type # ------------------------------------------------------------------ @@ -162,10 +162,10 @@ t.direct_type = x assert_same(x, t.type) t = C::Int.new x = C::Void.new - assert_raise(NoMethodError){t.direct_type = x} + assert_raises(NoMethodError){t.direct_type = x} end # ------------------------------------------------------------------ # CharLiteral StringLiteral # ------------------------------------------------------------------