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