Permalink
Browse files

Add regression test

  • Loading branch information...
ksss committed Jul 22, 2016
1 parent 1a8074a commit bf21063a7245f5d8ae0773cf88422bece9d0e784
Showing with 3 additions and 0 deletions.
  1. +3 −0 mrbgems/mruby-struct/test/struct.rb
@@ -23,6 +23,9 @@
cc1 = c.new(1,2)
cc2 = c.new(1,2)
assert_true cc1 == cc2
Struct.new(:m1, :m2) { def foo; end }
assert_raise(NoMethodError) { Struct.new(:m1).new.foo }
end
assert('Struct#[]', '15.2.18.4.2') do

0 comments on commit bf21063

Please sign in to comment.