Sha256: 984caa3bdd0925dbf9765f19da5983bb08c7a07c7a8312714cae4149bd04c4d8
Contents?: true
Size: 356 Bytes
Versions: 1
Compression:
Stored size: 356 Bytes
Contents
require File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'test_helper.rb')) class FunctionDefinitionAssignmentTest < Test::Unit::TestCase include KoiReferenceParser test "assignment of function definition" do tree = Parser.parse('test = function(args) blah = 1 end') assert_assigns(FunctionDefinition, 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_definition_test.rb |