Sha256: 52d916174838dee72aa1b159c711c91883540fb0bcc2046389d5b9f431f515d5

Contents?: true

Size: 377 Bytes

Versions: 1

Compression:

Stored size: 377 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.2 test/parser/functional/function_call_as_argument.rb