spec/parser/ruby/ast_node_spec.rb in yard-0.7.5 vs spec/parser/ruby/ast_node_spec.rb in yard-0.8.0

- old
+ new

@@ -14,10 +14,10 @@ it "should return the original ast if no inner node is found" do ast = s(:paren, s(:list, s(:list, s(s(:ident, "hi"), s(:ident, "bye"))))) ast.jump(:params).object_id.should == ast.object_id end end - + describe '#pretty_print' do it "should show a list of nodes" do obj = YARD::Parser::Ruby::RubyParser.parse("# x\nbye", "x").ast out = StringIO.new PP.pp(obj, out)