From b0932862f53b9dc82036f6bdd2f2b2fb2c09a9a9 Mon Sep 17 00:00:00 2001 From: James Couball Date: Wed, 13 Apr 2022 13:46:30 -0700 Subject: [PATCH] Supress unneeded test output Signed-off-by: James Couball --- tests/units/test_git_dir.rb | 2 +- tests/units/test_lib.rb | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/units/test_git_dir.rb b/tests/units/test_git_dir.rb index 551b0f34..8034d859 100644 --- a/tests/units/test_git_dir.rb +++ b/tests/units/test_git_dir.rb @@ -84,7 +84,7 @@ def test_git_diff_to_a Dir.chdir(work_tree) do `git init` `git commit --allow-empty -m 'init'` - `git worktree add child` + `git worktree add --quiet child` Dir.chdir('child') do result = Git.open('.').diff.to_a assert_equal([], result) diff --git a/tests/units/test_lib.rb b/tests/units/test_lib.rb index d589eac6..bdf50a75 100644 --- a/tests/units/test_lib.rb +++ b/tests/units/test_lib.rb @@ -289,7 +289,6 @@ def test_grep end def test_show - puts @lib.show assert_match(/^commit 46abbf07e3c564c723c7c039a43ab3a39e5d02dd.+\+Grep regex doesn't like this:4342: because it is bad\n$/m, @lib.show) assert(/^commit 935badc874edd62a8629aaf103418092c73f0a56.+\+nothing!$/m.match(@lib.show('gitsearch1'))) assert(/^hello.+nothing!$/m.match(@lib.show('gitsearch1', 'scott/text.txt'))) pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy