We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 457c1eb + 4b6abb7 commit 63f8d1dCopy full SHA for 63f8d1d
spec/unit/explain_syntax_spec.rb
@@ -14,11 +14,7 @@ module SyntaxSuggest
14
).call
15
16
expect(explain.missing).to eq([])
17
- if SyntaxSuggest.use_prism_parser?
18
- expect(explain.errors.join).to include("Expected a closing delimiter for the interpolated string")
19
- else
20
- expect(explain.errors.join).to include("unterminated string")
21
- end
+ expect(explain.errors.join.strip).to_not be_empty
22
end
23
24
it "handles %w[]" do
0 commit comments