leo/tests/parser/statement/console.leo

20 lines
217 B
Plaintext

/*
namespace: ParseStatement
expectation: Pass
*/
console.assert(x);
console.error("{}", x);
console.error("{}{}", x, y);
console.error("x");
console.log("{}", x);
console.log("{}{}", x, y);
console.log("x");