AjTalk.Tests.Compilers.Javascript.CompilerTests.CompileSimpleExpressionWithBinaryAndKeywordMessages C# (CSharp) Method

CompileSimpleExpressionWithBinaryAndKeywordMessages() private method

        public void CompileSimpleExpressionWithBinaryAndKeywordMessages()
        {
            IExpression expression = ParseExpression("index >= 1 and: 2");
            expression.Visit(this.compiler);
            this.writer.Close();
            string output = this.writer.ToString();
            Assert.IsTrue(ContainsLine(output, "send(send(index, '>=', [1]), 'and_', [2])"));
        }