Skip to content

Commit b3089f0

Browse files
author
Daniel Mendler
committed
test adapted
1 parent c9fe649 commit b3089f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/units/test_logger.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def test_logger
1919
@git.branches.size
2020

2121
logc = File.read(log.path)
22-
assert(/INFO -- : git branch -a/.match(logc))
22+
assert(/INFO -- : git branch '-a'/.match(logc))
2323
assert(/DEBUG -- : \* git_grep/.match(logc))
2424

2525
log = Tempfile.new('logfile')
@@ -31,7 +31,7 @@ def test_logger
3131
@git.branches.size
3232

3333
logc = File.read(log.path)
34-
assert(/INFO -- : git branch -a/.match(logc))
34+
assert(/INFO -- : git branch '-a'/.match(logc))
3535
assert(!/DEBUG -- : \* git_grep/.match(logc))
3636
end
3737

0 commit comments

Comments
 (0)