public void DoWhileStatementRequiresStatement()
        {
            var d = new DoWhileStatement(JS.Null(), null);

            Expect.Throw<InvalidOperationException>(() => d.ToString());
        }
Example #2
0
        public void DoWhileStatementRequiresCondition()
        {
            var d = new DoWhileStatement();

            Expect.Throw <InvalidOperationException>(() => d.ToString());
        }
        public void DoWhileStatementRequiresCondition()
        {
            var d = new DoWhileStatement();

            Expect.Throw<InvalidOperationException>(() => d.ToString());
        }
Example #4
0
        public void DoWhileStatementRequiresStatement()
        {
            var d = new DoWhileStatement(JS.Null(), null);

            Expect.Throw <InvalidOperationException>(() => d.ToString());
        }