Sha256: cfe423fe94af601ef862426a8218f3e36556133449da8557d13bbbc35e9bae15

Contents?: true

Size: 393 Bytes

Versions: 1

Compression:

Stored size: 393 Bytes

Contents

require File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'test_helper.rb'))

class FunctionCallAsArgumentTest < Test::Unit::TestCase

  include KoiReferenceParser
  
  test "should parse statement with function call as argument" do
    assert_nothing_raised do
      Parser.parse(<<-EOD)
      
        print( to_string( 1 ))
        
      EOD
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
koi-reference-parser-0.0.1 test/parser/functional/function_call_as_argument.rb