test/test_helper.rb in review-0.9.0 vs test/test_helper.rb in review-1.0.0

- old
+ new

@@ -1,2 +1,10 @@ $LOAD_PATH.unshift(File.dirname(__FILE__) + '/../lib/') require 'test/unit' + +def ul_helper(src, expect) + io = StringIO.new(src) + li = LineInput.new(io) + @compiler.__send__(:compile_ulist, li) + assert_equal expect, @builder.raw_result +end +