mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Source#content -> Source#code, Source::Error#pos -> Source::Error#location
This commit is contained in:
parent
9036a7ca71
commit
e718c90f16
39 changed files with 91 additions and 90 deletions
|
@ -20,7 +20,7 @@ module Ameba::Formatter
|
|||
|
||||
it "writes invalid source" do
|
||||
s = Source.new ""
|
||||
s.error DummyRule.new, 3, "message"
|
||||
s.error DummyRule.new, nil, "message"
|
||||
subject.source_finished s
|
||||
output.to_s.should contain "F"
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue