spec/language/syntax/grammar/test_unit_def.rb in gisele-language-0.5.1 vs spec/language/syntax/grammar/test_unit_def.rb in gisele-language-0.6.0
- old
+ new
@@ -7,21 +7,13 @@
task Task1 end
UNIT
parse(expr, :unit_def).should eq(expr)
end
- it 'accepts multiple task definitions' do
- expr = <<-UNIT.strip
- task Task1 end
- task Task2 end
- UNIT
- parse(expr, :unit_def).should eq(expr)
- end
-
it 'allows trailing spaces' do
expr = <<-UNIT
task Task1 end
- task Task2 end
+
UNIT
parse(expr, :unit_def).should eq(expr)
end
end
\ No newline at end of file