prettier/tests/path/__snapshots__/jsfmt.spec.js.snap

17 lines
372 B
Plaintext
Raw Normal View History

exports[`test while.js 1`] = `
"var x = 1;
2016-12-30 19:56:42 +03:00
while(typeof x == \"number\" || typeof x == \"string\") {
x = x + 1;
2016-12-30 19:56:42 +03:00
if (true) x = \"\";
}
var z:number = x;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
var x = 1;
2016-12-30 19:56:42 +03:00
while (typeof x == \"number\" || typeof x == \"string\") {
x = x + 1;
if (true) x = \"\";
}
2017-01-11 18:16:38 +03:00
var z: number = x;
"
`;