spec/front_end/parser_spec.rb in loxxy-0.4.04 vs spec/front_end/parser_spec.rb in loxxy-0.4.05
- old
+ new
@@ -44,10 +44,10 @@
ptree = subject.parse('')
check_empty_input_result(ptree)
end
it 'should cope with whitespaces only input' do
- ptree = subject.parse(' ' * 80 + "\n" * 20)
+ ptree = subject.parse((' ' * 80) + ("\n" * 20))
check_empty_input_result(ptree)
end
it 'should cope with comments only input' do
input = +''