Support hierarchical loading of the config file

This commit is contained in:
Sijawusz Pur Rahnama 2023-03-06 05:32:55 +01:00
parent 6f05df4006
commit 9534104942
4 changed files with 32 additions and 15 deletions

View file

@ -45,7 +45,7 @@ module Ameba
s = Source.new "a = 1", "source.cr"
s.add_issue DummyRule.new, {1, 2}, "message"
formatter.finished([s])
io.to_s.should contain "Created .ameba.yml"
io.to_s.should contain "Created #{Config::PATH}"
end
end