Skip to content

Commit c4d0d8d

Browse files
mameluke-gru
andcommitted
quiet output during tests for git commands
Co-authored-by: lukeg <luke.gru@gmail.com>
1 parent b11af89 commit c4d0d8d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/typeprof/test_helper.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ def self.setup_testbed_repository(dir, github_repo_url, revision)
5353
dir = File.join(__dir__, "../../testbed/", dir)
5454
unless File.directory?(dir)
5555
Dir.mkdir(dir)
56-
system("git", "init", "-b", "master", chdir: dir, exception: true)
56+
system("git", "init", "-q", "-b", "master", chdir: dir, exception: true)
5757
system("git", "remote", "add", "origin", github_repo_url, chdir: dir, exception: true)
58-
system("git", "fetch", "origin", revision, chdir: dir, exception: true)
58+
system("git", "fetch", "-q", "origin", revision, chdir: dir, exception: true)
5959
end
6060
system("git", "reset", "--quiet", "--hard", revision, chdir: dir, exception: true)
6161

0 commit comments

Comments
 (0)