summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSchneems <richard.schneeman+foo@gmail.com>2023-12-05 12:24:06 -0600
committergit <svn-admin@ruby-lang.org>2023-12-05 18:25:42 +0000
commit82883dc8f2343913eb9df32fda6798b2f969dfee (patch)
tree7dac5a2da71bc41cd063adc3de943ad9e235e4ae /lib
parenta063969ec18c8f213d9c70471a29d0d31ec5850a (diff)
[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 https://github.com/ruby/ruby/actions/runs/7104601478/job/19339940315. 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. https://github.com/ruby/syntax_suggest/commit/4b6abb763e
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions