update to new format
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ describe Squib.logger do
|
|||||||
oldstdout = $stdout
|
oldstdout = $stdout
|
||||||
$stdout = StringIO.new
|
$stdout = StringIO.new
|
||||||
Squib::logger.warn 'Test warn'
|
Squib::logger.warn 'Test warn'
|
||||||
expect($stdout.string).to match /WARN: Test warn/
|
expect($stdout.string).to match /\[.+WARN.*\] Test warn/
|
||||||
$stdout = oldstdout
|
$stdout = oldstdout
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user