X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=spec%2Fpronto%2Feslint_spec.rb;h=7af0aa25f20030a5ed97e7e0da8812f74bfd208b;hb=e96fd240c5911e18f43c62b20ae5f18600c3d793;hp=29d46e481c78e21576870693ffe6b3f4dd8525da;hpb=347e6ab774cd401e437450fc93504b78bf90d748;p=github%2Ffretlink%2Fpronto-hlint.git diff --git a/spec/pronto/eslint_spec.rb b/spec/pronto/eslint_spec.rb index 29d46e4..7af0aa2 100644 --- a/spec/pronto/eslint_spec.rb +++ b/spec/pronto/eslint_spec.rb @@ -17,12 +17,12 @@ module Pronto it { should == [] } end - context 'patches with a four warnings' do + context 'patches with a four and a five warnings' do include_context 'test repo' let(:patches) { repo.diff('master') } - its(:count) { should == 4 } + its(:count) { should == 9 } its(:'first.msg') { should == "Expected { after 'if' condition." } end end