зеркало из https://github.com/github/ruby.git
[PRISM] Enable passing tests
This commit is contained in:
Родитель
74c911dfa9
Коммит
444030fc61
|
@ -1 +1 @@
|
|||
exclude(:test_eval, "unknown")
|
||||
exclude(:test_eval, "respect eval coverage setting")
|
||||
|
|
|
@ -1 +1 @@
|
|||
exclude(:test_code_block_open_with_should_continue, "symbol encoding")
|
||||
exclude(:test_code_block_open_with_should_continue, "https://github.com/ruby/irb/pull/954")
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
exclude(:test_each_child, "https://github.com/ruby/prism/issues/2660")
|
||||
exclude(:test_syntax_error_message, "Assertion checks against specific error format")
|
||||
exclude(:test_trace_points, "https://github.com/ruby/prism/issues/2660")
|
||||
exclude(:test_syntax_error_message, "error message format")
|
||||
|
||||
exclude(:test_each_child, "https://bugs.ruby-lang.org/issues/20479")
|
||||
exclude(:test_trace_points, "https://bugs.ruby-lang.org/issues/20479")
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
exclude(:test_regexp_usascii, "unknown")
|
||||
exclude(:test_string_mixed_unicode, "unknown")
|
||||
exclude(:test_regexp_usascii, "x80 should raise syntax error")
|
||||
exclude(:test_string_mixed_unicode, "should raise mixed encoding error")
|
||||
|
|
|
@ -1 +1 @@
|
|||
exclude(:test_basic, "unknown")
|
||||
exclude(:test_basic, "should raise mixed encoding error")
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
exclude(:test_error_def_in_argument, "unknown")
|
||||
exclude(:test_global_variable, "unknown")
|
||||
exclude(:test_invalid_char, "unknown")
|
||||
exclude(:test_location_of_invalid_token, "unknown")
|
||||
exclude(:test_percent, "unknown")
|
||||
exclude(:test_question, "unknown")
|
||||
exclude(:test_string, "unknown")
|
||||
exclude(:test_truncated_source_line, "unknown")
|
||||
exclude(:test_unexpected_eof, "unknown")
|
||||
exclude(:test_unexpected_token_after_numeric, "unknown")
|
||||
exclude(:test_void_value_in_rhs, "unknown")
|
||||
exclude(:test_global_variable, "error message format")
|
||||
exclude(:test_invalid_char, "error message format")
|
||||
exclude(:test_location_of_invalid_token, "error message format")
|
||||
exclude(:test_percent, "error message format")
|
||||
exclude(:test_question, "error message format")
|
||||
exclude(:test_string, "error message format")
|
||||
exclude(:test_truncated_source_line, "truncate error message")
|
||||
exclude(:test_unexpected_eof, "error message format")
|
||||
exclude(:test_unexpected_token_after_numeric, "error message format")
|
||||
exclude(:test_void_value_in_rhs, "missing raising error for some void value expressions")
|
||||
|
|
|
@ -1 +1 @@
|
|||
exclude(:test_unescape, "unknown")
|
||||
exclude(:test_unescape, "unescapes in regexp missing some bytes")
|
||||
|
|
|
@ -1 +1 @@
|
|||
exclude(:test_require_nonascii_path_shift_jis, "encoding")
|
||||
exclude(:test_require_nonascii_path_shift_jis, "requiring non-ascii paths")
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
exclude(:test_dregexp, "https://github.com/ruby/prism/issues/2664")
|
||||
exclude(:test_dregexp, "x80 should raise syntax error")
|
||||
exclude(:test_string, "https://github.com/ruby/prism/issues/2331")
|
||||
|
|
|
@ -5,11 +5,10 @@ exclude(:test_dedented_heredoc_continued_line, "unknown")
|
|||
exclude(:test_duplicated_when, "unknown")
|
||||
exclude(:test_error_message_encoding, "unknown")
|
||||
exclude(:test_it, "https://github.com/ruby/prism/issues/2323")
|
||||
exclude(:test_keyword_invalid_name, "unknown")
|
||||
exclude(:test_keyword_self_reference, "unknown")
|
||||
exclude(:test_numbered_parameter, "unknown")
|
||||
exclude(:test_optional_self_reference, "unknown")
|
||||
exclude(:test_syntax_error_at_newline, "unknown")
|
||||
exclude(:test_unterminated_heredoc_cr, "unknown")
|
||||
exclude(:test_warn_balanced, "unknown")
|
||||
exclude(:test_warn_unreachable, "unknown")
|
||||
|
||||
exclude(:test_optional_self_reference, "https://bugs.ruby-lang.org/issues/20478")
|
||||
exclude(:test_keyword_self_reference, "https://bugs.ruby-lang.org/issues/20478")
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
exclude(:test_fail, "unknown")
|
|
@ -1259,8 +1259,8 @@ x = __ENCODING__
|
|||
assert_syntax_error("def f r:def d; def f 0end", /unexpected/)
|
||||
end;
|
||||
|
||||
assert_syntax_error("def\nf(000)end", /^ \^~~/)
|
||||
assert_syntax_error("def\nf(&0)end", /^ \^/)
|
||||
assert_syntax_error("def\nf(000)end", /(^|\| ) \^~~/)
|
||||
assert_syntax_error("def\nf(&0)end", /(^|\| ) \^/)
|
||||
end
|
||||
|
||||
def test_method_location_in_rescue
|
||||
|
|
Загрузка…
Ссылка в новой задаче