Sha256: bacf4528853dd9c512269b88ffe6b1d7ef8a1dadb175811fc2400315d314f8a9

Contents?: true

Size: 346 Bytes

Versions: 1

Compression:

Stored size: 346 Bytes

Contents

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

class FunctionCallAssignmentTest < Test::Unit::TestCase

  include KoiReferenceParser
  
  test "assignment of result of function call" do
    tree = Parser.parse('test = function(args)')
    assert_assigns_expression(FunctionCall, nil, tree)
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
koi-reference-parser-0.0.3 test/unit/assignment/function_call_assignment_test.rb