ruby/spec/syntax_suggest/unit
Schneems 82883dc8f2 [ruby/syntax_suggest] Change assertion to not rely on exact text from prism
The original ripper test was very stable as the output didn't change. Prism is under active development and changing their output shouldn't cause a failure to the ruby/ruby test suite like 1933994031.

This commit moves from checking exact output to asserting that the string we get back is not empty. This should give the same level of confidence that some error message was caught, and is less brittle.

4b6abb763e
2023-12-05 18:25:42 +00:00
..
capture [ruby/syntax_suggest] Bump minimum Ruby version & update standardrb 2023-12-04 22:29:44 +00:00
api_spec.rb [ruby/syntax_suggest] Support lexing with Prism 2023-12-05 17:51:28 +00:00
around_block_scan_spec.rb [ruby/syntax_suggest] Bump minimum Ruby version & update standardrb 2023-12-04 22:29:44 +00:00
block_expand_spec.rb [ruby/syntax_suggest] Rollback comment indentation behavior 2023-04-06 15:45:29 +09:00
capture_code_context_spec.rb [ruby/syntax_suggest] Bump minimum Ruby version & update standardrb 2023-12-04 22:29:44 +00:00
clean_document_spec.rb [ruby/syntax_suggest] Bump minimum Ruby version & update standardrb 2023-12-04 22:29:44 +00:00
cli_spec.rb Update SyntaxSuggest to use angle brackets > 2022-11-30 12:58:47 +09:00
code_block_spec.rb
code_frontier_spec.rb
code_line_spec.rb [ruby/syntax_suggest] Bump minimum Ruby version & update standardrb 2023-12-04 22:29:44 +00:00
code_search_spec.rb [ruby/syntax_suggest] Bump minimum Ruby version & update standardrb 2023-12-04 22:29:44 +00:00
core_ext_spec.rb [ruby/syntax_suggest] Bump minimum Ruby version & update standardrb 2023-12-04 22:29:44 +00:00
display_invalid_blocks_spec.rb [ruby/syntax_suggest] Clean up output 2023-04-25 14:43:06 +09:00
explain_syntax_spec.rb [ruby/syntax_suggest] Change assertion to not rely on exact text from prism 2023-12-05 18:25:42 +00:00
lex_all_spec.rb [ruby/syntax_suggest] Update docs, clean up PR 2023-12-05 17:51:29 +00:00
pathname_from_message_spec.rb [ruby/syntax_suggest] Handle new eval source location 2023-07-20 17:58:52 +00:00
priority_queue_spec.rb
scan_history_spec.rb [ruby/syntax_suggest] Bump minimum Ruby version & update standardrb 2023-12-04 22:29:44 +00:00