Skip to content

Commit 7780bf3

Browse files
committed
Move arity check filters to opal bugs
1 parent 6deb722 commit 7780bf3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

spec/opal/filters/bugs/arity_check.rb

Lines changed: 0 additions & 4 deletions
This file was deleted.

spec/opal/filters/bugs/opal.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
opal_filter "Opal bugs" do
22
fails "Array#join raises a NoMethodError if an element does not respond to #to_str, #to_ary, or #to_s"
3+
4+
# arity checking bugs
5+
fails "Array#shift passed a number n as an argument raises an ArgumentError if more arguments are passed"
6+
fails "Array#pop passed a number n as an argument raises an ArgumentError if more arguments are passed"
37
end

0 commit comments

Comments
 (0)