Skip to content
Permalink
Browse files
Add regression test
  • Loading branch information
ksss committed Jul 22, 2016
1 parent 1a8074a commit bf21063a7245f5d8ae0773cf88422bece9d0e784
Showing 1 changed file with 3 additions and 0 deletions.
@@ -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.