public void Can_parse_CoffeeScript_reference_comments_with_single_quotes()
 {
     var source = "# reference 'lib.js'";
     var parser = new UnresolvedCoffeeScriptParser();
     var unresolvedScript = parser.Parse(CreateSourceStream(source), "test.coffee");
     unresolvedScript.References[0].ShouldEqual("lib.js");
 }
Exemplo n.º 2
0
        public void Can_parse_CoffeeScript_reference_comments()
        {
            var source           = "# reference \"lib.js\"";
            var parser           = new UnresolvedCoffeeScriptParser();
            var unresolvedScript = parser.Parse(CreateSourceStream(source), "test.coffee");

            unresolvedScript.References[0].ShouldEqual("lib.js");
        }