File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ def test_git_diff_to_a
84
84
Dir . chdir ( work_tree ) do
85
85
`git init`
86
86
`git commit --allow-empty -m 'init'`
87
- `git worktree add child`
87
+ `git worktree add --quiet child`
88
88
Dir . chdir ( 'child' ) do
89
89
result = Git . open ( '.' ) . diff . to_a
90
90
assert_equal ( [ ] , result )
Original file line number Diff line number Diff line change @@ -289,7 +289,6 @@ def test_grep
289
289
end
290
290
291
291
def test_show
292
- puts @lib . show
293
292
assert_match ( /^commit 46abbf07e3c564c723c7c039a43ab3a39e5d02dd.+\+ Grep regex doesn't like this:4342: because it is bad\n $/m , @lib . show )
294
293
assert ( /^commit 935badc874edd62a8629aaf103418092c73f0a56.+\+ nothing!$/m . match ( @lib . show ( 'gitsearch1' ) ) )
295
294
assert ( /^hello.+nothing!$/m . match ( @lib . show ( 'gitsearch1' , 'scott/text.txt' ) ) )
You can’t perform that action at this time.
0 commit comments