test/test_gem.rb in nanoc-3.6.6 vs test/test_gem.rb in nanoc-3.6.7
- old
+ new
@@ -29,10 +29,10 @@
diff = files_after - files_before
assert_equal 1, diff.size
assert_match(/^nanoc-.*\.gem$/, diff.to_a[0])
# Check output
- assert_match(/Successfully built RubyGem\n Name: nanoc\n Version: .*\n File: nanoc-.*\.gem\n/, stdout)
+ assert_match(/Successfully built RubyGem\s+Name: nanoc\s+Version: .*\s+File: nanoc-.*\.gem\s+/, stdout)
assert_equal '', stderr
ensure
Dir['nanoc-*.gem'].each { |f| FileUtils.rm(f) }
end