require 'bundler/setup' require 'minitest/autorun' require 'methic' module ParserTestHelper def assert_evals_to_self(input) assert_evals_to(input, input) end def parse(input) result = @parser.parse(input) unless result puts @parser.terminal_failures.join("\n") end assert !result.nil? result end end