From 49fca7804e07247adff31d00f90e98004ccf0f33 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Mon, 28 Sep 2009 11:40:04 -0700 Subject: adding to_ruby --- test/visitors/test_to_ruby.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test/visitors') diff --git a/test/visitors/test_to_ruby.rb b/test/visitors/test_to_ruby.rb index aa98fbb..cb7d363 100644 --- a/test/visitors/test_to_ruby.rb +++ b/test/visitors/test_to_ruby.rb @@ -10,6 +10,7 @@ module Psych def test_scalar scalar = Nodes::Scalar.new('foo') assert_equal 'foo', @visitor.accept(scalar) + assert_equal 'foo', scalar.to_ruby end end end -- cgit v1.2.3