We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19dfe5e commit 292087eCopy full SHA for 292087e
tests/units/test_git_dir.rb
@@ -84,7 +84,7 @@ def test_git_diff_to_a
84
Dir.chdir(work_tree) do
85
`git init`
86
`git commit --allow-empty -m 'init'`
87
- `git worktree add child`
+ `git worktree add --quiet child`
88
Dir.chdir('child') do
89
result = Git.open('.').diff.to_a
90
assert_equal([], result)
tests/units/test_lib.rb
@@ -289,7 +289,6 @@ def test_grep
289
end
290
291
def test_show
292
- puts @lib.show
293
assert_match(/^commit 46abbf07e3c564c723c7c039a43ab3a39e5d02dd.+\+Grep regex doesn't like this:4342: because it is bad\n$/m, @lib.show)
294
assert(/^commit 935badc874edd62a8629aaf103418092c73f0a56.+\+nothing!$/m.match(@lib.show('gitsearch1')))
295
assert(/^hello.+nothing!$/m.match(@lib.show('gitsearch1', 'scott/text.txt')))
0 commit comments