spec/rley/ptree/parse_tree_spec.rb in rley-0.1.08 vs spec/rley/ptree/parse_tree_spec.rb in rley-0.1.09

- old
+ new

@@ -14,11 +14,11 @@ builder = grammar_abc_builder builder.grammar end let(:sample_prod) { sample_grammar.rules[0] } - let(:sample_range) { {low:0, high:5} } + let(:sample_range) { { low: 0, high: 5 } } subject { ParseTree.new(sample_prod, sample_range) } context 'Initialization:' do it 'should be created with a production and a range' do construction = -> { ParseTreeNode.new(sample_prod, sample_range) } @@ -84,11 +84,10 @@ expect(path[4].symbol.name).to eq('A') expect(path[4].range.low).to be_nil expect(path[4].range.high).to eq(4) end end - end # describe end # module end # module -# End of file \ No newline at end of file +# End of file