Set default severities

This commit is contained in:
Vitalii Elenhaupt 2019-04-13 22:38:37 +03:00
parent 0be42f94db
commit f6a57f9272
No known key found for this signature in database
GPG key ID: 7558EF3A4056C706
5 changed files with 35 additions and 19 deletions

View file

@ -33,5 +33,9 @@ module Ameba::Rule::Lint
issue.location.to_s.should eq "source.cr:1:11"
issue.message.should eq "unexpected token: end (expected ';' or newline)"
end
it "has highest severity" do
subject.severity.should eq Severity::Error
end
end
end