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
8484 Dir . chdir ( work_tree ) do
8585 `git init`
8686 `git commit --allow-empty -m 'init'`
87- `git worktree add child`
87+ `git worktree add --quiet child`
8888 Dir . chdir ( 'child' ) do
8989 result = Git . open ( '.' ) . diff . to_a
9090 assert_equal ( [ ] , result )
Original file line number Diff line number Diff line change @@ -289,7 +289,6 @@ def test_grep
289289 end
290290
291291 def test_show
292- puts @lib . show
293292 assert_match ( /^commit 46abbf07e3c564c723c7c039a43ab3a39e5d02dd.+\+ Grep regex doesn't like this:4342: because it is bad\n $/m , @lib . show )
294293 assert ( /^commit 935badc874edd62a8629aaf103418092c73f0a56.+\+ nothing!$/m . match ( @lib . show ( 'gitsearch1' ) ) )
295294 assert ( /^hello.+nothing!$/m . match ( @lib . show ( 'gitsearch1' , 'scott/text.txt' ) ) )
You can’t perform that action at this time.
0 commit comments