fix test discrepancies
This commit is contained in:
8
test/fixtures/api/blacklist/expected.js
vendored
8
test/fixtures/api/blacklist/expected.js
vendored
@@ -1,6 +1,6 @@
|
||||
var Test = function () {
|
||||
function Test() {
|
||||
arr.map(x => x * x);
|
||||
}
|
||||
return Test;
|
||||
function Test() {
|
||||
arr.map(x => x * x);
|
||||
}
|
||||
return Test;
|
||||
}();
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
var obj = {
|
||||
[foobar]() {
|
||||
return "foobar"
|
||||
return "foobar";
|
||||
}
|
||||
};
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
var obj = function (obj) {
|
||||
obj[foobar] = function () {
|
||||
return 'foobar';
|
||||
};
|
||||
return obj;
|
||||
obj[foobar] = function () {
|
||||
return "foobar";
|
||||
};
|
||||
return obj;
|
||||
}({});
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
var t = function (f, ...items) {
|
||||
|
||||
};
|
||||
|
||||
function t(f, ...items) {
|
||||
|
||||
}
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
var t = function (f) {
|
||||
var items = Array.prototype.slice.call(arguments, 1);
|
||||
};
|
||||
|
||||
function t(f) {
|
||||
var items = Array.prototype.slice.call(arguments, 1);
|
||||
}
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
var t = function (...items) {
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
function t(...items) {
|
||||
|
||||
}
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
var t = function () {
|
||||
var items = Array.prototype.slice.call(arguments);
|
||||
};
|
||||
|
||||
function t() {
|
||||
var items = Array.prototype.slice.call(arguments);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user