mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Fix nonexistent method name used in error message
This commit is contained in:
parent
1b342e8257
commit
bdbb79f1fa
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ module Ameba::Spec::ExpectIssue
|
|||
code = lines.join('\n')
|
||||
|
||||
if code == annotated_code
|
||||
raise "Use `report_no_issues` to assert that no issues are found"
|
||||
raise "Use `expect_no_issues` to assert that no issues are found"
|
||||
end
|
||||
|
||||
source, actual_annotations = actual_annotations(rules, code, path, lines)
|
||||
|
|
Loading…
Reference in a new issue