test/lib/docparser/output/multi_output_test.rb in docparser-0.1.3 vs test/lib/docparser/output/multi_output_test.rb in docparser-0.1.4
- old
+ new
@@ -33,10 +33,10 @@
it 'must have a header' do
Dir.mktmpdir do |dir|
filename = File.join(dir, 'test')
output = DocParser::MultiOutput.new(filename: filename)
- -> do
+ lambda do
output.add_row %w(aap noot mies)
end.must_raise(DocParser::MissingHeaderException)
end
end
\ No newline at end of file