Skip to content

Commit

Permalink
Fixes checking of the diff padding in 'test_commit'
Browse files Browse the repository at this point in the history
  • Loading branch information
gierschv committed Jun 19, 2013
1 parent 1347063 commit 18edfbf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_commit.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,8 @@ module.exports = testCase({
assert.ok(patch.indexOf('From: tom <tom@taco.(none)>') != -1);
assert.ok(patch.indexOf('Date: Tue, 20 Nov 2007 17:27:42 -0800') != -1);
assert.ok(patch.indexOf('Subject: [PATCH] fix tests on other machines') != -1);
assert.ok(patch.indexOf('test/test_reality.rb | 30 +++++++++++++++---------------') != -1);
assert.ok(patch.indexOf('test/test_reality.rb | 30 +++++++++++++++---------------') != -1 ||
patch.indexOf('test/test_reality.rb | 30 +++++++++++++++---------------') != -1);
assert.ok(patch.indexOf('@@ -1,17 +1,17 @@') != -1);
assert.ok(patch.indexOf('+# recurse(t)') != -1);
assert.ok(patch.indexOf('1.') != -1);
Expand Down

0 comments on commit 18edfbf

Please sign in to comment.