Skip to content

Commit

Permalink
fix tests after simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
mpapis committed Nov 8, 2014
1 parent 0009db6 commit 5710004
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/plugins/pre_commit/checks/gpg_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,15 @@
Dir.chdir(project_dir) do
errors = check.call(['file.wrong'])
errors.size.must_equal(1)
errors[0].errors.must_be_kind_of(PreCommit::ErrorList)
errors[0].must_be_kind_of(PreCommit::ErrorList)
end
end

it "fails if not matching signature file" do
Dir.chdir(project_dir) do
errors = check.call(['file.wrong.asc'])
errors.size.must_equal(1)
errors[0].errors.must_be_kind_of(PreCommit::ErrorList)
errors[0].must_be_kind_of(PreCommit::ErrorList)
end
end

Expand Down

0 comments on commit 5710004

Please sign in to comment.