Sha256: ed91f1e3c6d7fbcda388f3172f962255cadff6c9c9042d6ecccbce277865a16f
Contents?: true
Size: 459 Bytes
Versions: 10
Compression:
Stored size: 459 Bytes
Contents
require File.expand_path(File.join(File.dirname(__FILE__), "helper")) class ExportTest < Johnson::NodeTestCase def test_export begin assert_sexp([[:export, [[:name, "name1"], [:name, "name2"]]]], @parser.parse('export name1, name2;')) assert_ecma('export name1, name2;', @parser.parse('export name1, name2;')) rescue Johnson::Parser::SyntaxError; end # okay if an interpreter doesn't implement import/export end end
Version data entries
10 entries across 10 versions & 4 rubygems