mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Rename Severity::Refactoring -> Severity::Convention
it preserves clang format
This commit is contained in:
parent
94e1d4567a
commit
de587f500a
12 changed files with 31 additions and 31 deletions
|
@ -115,9 +115,9 @@ module Ameba::Cli
|
|||
end
|
||||
|
||||
context "--fail-level" do
|
||||
it "configures fail level Refactoring" do
|
||||
c = Cli.parse_args %w(--fail-level refactoring)
|
||||
c.fail_level.should eq Severity::Refactoring
|
||||
it "configures fail level Convention" do
|
||||
c = Cli.parse_args %w(--fail-level convention)
|
||||
c.fail_level.should eq Severity::Convention
|
||||
end
|
||||
|
||||
it "configures fail level Warning" do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue