blob: e21962c36b408d39cb55dd15afd42cd22f57ea43 (
plain)
1
2
3
4
5
6
7
8
|
let caught = false;
try {
dumpStencil("export var z;", { module : true, lineNumber: 0 });
} catch (e) {
caught = true;
assertEq(e.message.includes("Module cannot be compiled with lineNumber == 0"), true);
}
assertEq(caught, true);
|