# File test/test_unified_ruby.rb, line 12 def test_pre_fcall u = PreUnifier.new input = [:fcall, :block_given?] expect = s(:fcall, :block_given?, s(:arglist)) assert_equal expect, u.process(input) input = [:fcall, :m, [:array, [:lit, 42]]] expect = s(:fcall, :m, s(:arglist, s(:lit, 42))) assert_equal expect, u.process(input) end