mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Fix unexpected token compiler error match
This commit is contained in:
parent
63a6c73dc0
commit
63bafba72e
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ module Ameba::Rule::Lint
|
|||
|
||||
issue.rule.should_not be_nil
|
||||
issue.location.to_s.should eq "source.cr:1:11"
|
||||
issue.message.should eq "unexpected token: end (expected ';' or newline)"
|
||||
issue.message.should match /unexpected token: "?end"? \(expected ["'];["'] or newline\)/
|
||||
end
|
||||
|
||||
it "has highest severity" do
|
||||
|
|
Loading…
Reference in a new issue