test/test_gem.rb in nanoc-4.7.5 vs test/test_gem.rb in nanoc-4.7.6
- old
+ new
@@ -13,10 +13,10 @@
# Build
files_before = Set.new Dir['**/*']
stdout = StringIO.new
stderr = StringIO.new
piper = Nanoc::Extra::Piper.new(stdout: stdout, stderr: stderr)
- piper.run(%w(gem build nanoc.gemspec), nil)
+ piper.run(%w[gem build nanoc.gemspec], nil)
files_after = Set.new Dir['**/*']
# Check new files
diff = files_after - files_before
assert_equal 1, diff.size