Skip to content

Commit

Permalink
Run language/match specs from rubyspec
Browse files Browse the repository at this point in the history
  • Loading branch information
adambeynon committed Nov 27, 2013
1 parent d570246 commit b5371e9
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
3 changes: 3 additions & 0 deletions spec/opal/filters/bugs/language.rb
Expand Up @@ -161,6 +161,9 @@
fails "The if expression with a boolean range ('flip-flop' operator) mimics an awk conditional with a many-element inclusive-end range"
fails "The if expression with a boolean range ('flip-flop' operator) mimics an awk conditional with a single-element inclusive-end range"

fails "The !~ operator evaluates as a call to !~"
fails "The =~ operator calls the =~ method"

fails "calling methods on the metaclass calls a method defined on the metaclass of the metaclass"
fails "calling methods on the metaclass calls a method in deeper chains of metaclasses"
fails "A constant on a metaclass is preserved when the object is cloned"
Expand Down
22 changes: 21 additions & 1 deletion spec/opal/rubyspecs
Expand Up @@ -338,37 +338,57 @@ core/time/strftime_spec
core/regexp/match_spec
#core/regexp/quote_spec

# language/BEGIN_spec
language/alias_spec
language/and_spec
language/array_spec
# language/block_spec
language/break_spec
language/case_spec
language/class_spec
language/class_variable_spec
# language/constants_spec
language/def_spec
language/defined_spec
# language/encoding_spec
language/ensure_spec
language/if_spec
# language/execution_spec
# language/file_spec
# language/for_spec
language/hash_spec
language/if_spec
# language/line_spec
language/literal_lambda_spec
language/loop_spec
# language/magic_comment_spec
language/match_spec
language/metaclass_spec
language/module_spec
language/next_spec
language/not_spec
# language/numbers_spec
language/or_spec
language/order_spec
language/precedence_spec
# language/predefined_spec
# language/private_spec
# language/proc_spec
language/redo_spec
# language/regexp_spec
language/rescue_spec
language/retry_spec
language/return_spec
language/send_spec
language/singleton_class_spec
# language/splat_spec
# language/string_spec
language/super_spec
# language/symbol_spec
# language/throw_spec
language/undef_spec
language/unless_spec
language/until_spec
# language/variables_spec
language/while_spec
language/yield_spec

Expand Down

0 comments on commit b5371e9

Please sign in to comment.