Updating existing tests
This commit is contained in:
parent
a05b1de7ee
commit
75b4c50cec
|
@ -19,7 +19,7 @@ function foo00(x) {
|
|||
var v = x;
|
||||
(function() { return x + v });
|
||||
(() => x + v);
|
||||
if (x == 1) {
|
||||
if (x == "1") {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -158,7 +158,7 @@ function foo00_c(x) {
|
|||
var v = x;
|
||||
(function() { return x + v });
|
||||
(() => x + v);
|
||||
if (x == 1) {
|
||||
if (x == "1") {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ function foo00(x) {
|
|||
var v = x;
|
||||
(function() { return x + v });
|
||||
(() => x + v);
|
||||
if (x == 1) {
|
||||
if (x == "1") {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -160,7 +160,7 @@ function foo00_c(x) {
|
|||
var v = x;
|
||||
(function() { return x + v });
|
||||
(() => x + v);
|
||||
if (x == 1) {
|
||||
if (x == "1") {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,10 +13,10 @@ for (let x of []) {
|
|||
for (let x in []) {
|
||||
(function() { return x});
|
||||
(() => x);
|
||||
if (x == 1) {
|
||||
if (x == "1") {
|
||||
break;
|
||||
}
|
||||
if (x == 2) {
|
||||
if (x == "2") {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
@ -132,10 +132,10 @@ for (const x of []) {
|
|||
for (const x in []) {
|
||||
(function() { return x});
|
||||
(() => x);
|
||||
if (x == 1) {
|
||||
if (x == "1") {
|
||||
break;
|
||||
}
|
||||
if (x == 2) {
|
||||
if (x == "2") {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,10 +14,10 @@ for (let x of []) {
|
|||
for (let x in []) {
|
||||
(function() { return x});
|
||||
(() => x);
|
||||
if (x == 1) {
|
||||
if (x == "1") {
|
||||
break;
|
||||
}
|
||||
if (x == 2) {
|
||||
if (x == "2") {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
@ -133,10 +133,10 @@ for (const x of []) {
|
|||
for (const x in []) {
|
||||
(function() { return x});
|
||||
(() => x);
|
||||
if (x == 1) {
|
||||
if (x == "1") {
|
||||
break;
|
||||
}
|
||||
if (x == 2) {
|
||||
if (x == "2") {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,16 +21,16 @@ l00:
|
|||
for (let x in []) {
|
||||
(function() { return x});
|
||||
(() => x);
|
||||
if (x == 1) {
|
||||
if (x == "1") {
|
||||
break;
|
||||
}
|
||||
if (x == 1) {
|
||||
if (x == "1") {
|
||||
break l00;
|
||||
}
|
||||
if (x == 2) {
|
||||
if (x == "2") {
|
||||
continue;
|
||||
}
|
||||
if (x == 2) {
|
||||
if (x == "2") {
|
||||
continue l00;
|
||||
}
|
||||
}
|
||||
|
@ -209,16 +209,16 @@ l00_c:
|
|||
for (const x in []) {
|
||||
(function() { return x});
|
||||
(() => x);
|
||||
if (x == 1) {
|
||||
if (x == "1") {
|
||||
break;
|
||||
}
|
||||
if (x == 1) {
|
||||
if (x == "1") {
|
||||
break l00_c;
|
||||
}
|
||||
if (x == 2) {
|
||||
if (x == "2") {
|
||||
continue;
|
||||
}
|
||||
if (x == 2) {
|
||||
if (x == "2") {
|
||||
continue l00_c;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -22,16 +22,16 @@ l00:
|
|||
for (let x in []) {
|
||||
(function() { return x});
|
||||
(() => x);
|
||||
if (x == 1) {
|
||||
if (x == "1") {
|
||||
break;
|
||||
}
|
||||
if (x == 1) {
|
||||
if (x == "1") {
|
||||
break l00;
|
||||
}
|
||||
if (x == 2) {
|
||||
if (x == "2") {
|
||||
continue;
|
||||
}
|
||||
if (x == 2) {
|
||||
if (x == "2") {
|
||||
continue l00;
|
||||
}
|
||||
}
|
||||
|
@ -210,16 +210,16 @@ l00_c:
|
|||
for (const x in []) {
|
||||
(function() { return x});
|
||||
(() => x);
|
||||
if (x == 1) {
|
||||
if (x == "1") {
|
||||
break;
|
||||
}
|
||||
if (x == 1) {
|
||||
if (x == "1") {
|
||||
break l00_c;
|
||||
}
|
||||
if (x == 2) {
|
||||
if (x == "2") {
|
||||
continue;
|
||||
}
|
||||
if (x == 2) {
|
||||
if (x == "2") {
|
||||
continue l00_c;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,4 +5,4 @@
|
|||
|
||||
goTo.marker();
|
||||
|
||||
verify.quickInfoIs('var p: any', "");
|
||||
verify.quickInfoIs('var p: string', "");
|
||||
|
|
Loading…
Reference in a new issue