spec/nanoc/regressions/gh_804_spec.rb in nanoc-4.7.5 vs spec/nanoc/regressions/gh_804_spec.rb in nanoc-4.7.6

- old
+ new

@@ -15,10 +15,10 @@ end EOS end it 'does not crash' do - expect { Nanoc::CLI.run(%w(check donkey)) }.to( + expect { Nanoc::CLI.run(%w[check donkey]) }.to( raise_error(Nanoc::Int::Errors::GenericTrivial, 'One or more checks failed').and( output(/Issues found!\n \(global\):\n \[ (\e\[31m)?ERROR(\e\[0m)? \] donkey - Not enough donkeys\n \/catlady.md:\n \[ (\e\[31m)?ERROR(\e\[0m)? \] donkey - Too many cats\n/).to_stdout, ), ) end