Skip to content

Commit

Permalink
More test baseline adjustments.
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasLYang committed Apr 30, 2019
1 parent 0da305b commit 61e1009
Show file tree
Hide file tree
Showing 26 changed files with 458 additions and 458 deletions.
Expand Up @@ -9,7 +9,7 @@ var __rest = (this && this.__rest) || function (s, e) {
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable(p[i]))
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
Expand Down
Expand Up @@ -27,7 +27,7 @@ var __rest = (this && this.__rest) || function (s, e) {
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable(p[i]))
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/restIntersection.js
Expand Up @@ -12,7 +12,7 @@ var __rest = (this && this.__rest) || function (s, e) {
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable(p[i]))
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/restInvalidArgumentType.js
Expand Up @@ -62,7 +62,7 @@ var __rest = (this && this.__rest) || function (s, e) {
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable(p[i]))
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
Expand Down
Expand Up @@ -16,7 +16,7 @@ var __rest = (this && this.__rest) || function (s, e) {
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable(p[i]))
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/restUnion.js
Expand Up @@ -22,7 +22,7 @@ var __rest = (this && this.__rest) || function (s, e) {
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable(p[i]))
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/restUnion2.js
Expand Up @@ -16,7 +16,7 @@ var __rest = (this && this.__rest) || function (s, e) {
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable(p[i]))
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
Expand Down
2 changes: 1 addition & 1 deletion tests/baselines/reference/restUnion3.js
Expand Up @@ -16,7 +16,7 @@ var __rest = (this && this.__rest) || function (s, e) {
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable(p[i]))
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
Expand Down
Expand Up @@ -25,7 +25,7 @@ var __rest = (this && this.__rest) || function (s, e) {
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable(p[i]))
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
Expand Down Expand Up @@ -111,7 +111,7 @@ sourceFile:../lib/file0.ts
>>> t[p] = s[p];
>>> if (s != null && typeof Object.getOwnPropertySymbols === "function")
>>> for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
>>> if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable(p[i]))
>>> if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
>>> t[p[i]] = s[p[i]];
>>> }
>>> return t;
Expand Down Expand Up @@ -614,26 +614,26 @@ sourceFile:file4.ts
},
{
"pos": 678,
"end": 1170,
"end": 1178,
"kind": "emitHelpers",
"data": "typescript:rest"
},
{
"pos": 1172,
"end": 1927,
"pos": 1180,
"end": 1935,
"kind": "prepend",
"data": "/src/lib/module.js",
"texts": [
{
"pos": 1172,
"end": 1927,
"pos": 1180,
"end": 1935,
"kind": "text"
}
]
},
{
"pos": 1927,
"end": 2445,
"pos": 1935,
"end": 2453,
"kind": "text"
}
],
Expand Down Expand Up @@ -699,22 +699,22 @@ var __spread = (this && this.__spread) || function () {
return ar;
};
----------------------------------------------------------------------
emitHelpers: (678-1170):: typescript:rest
emitHelpers: (678-1178):: typescript:rest
var __rest = (this && this.__rest) || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable(p[i]))
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
};
----------------------------------------------------------------------
prepend: (1172-1927):: /src/lib/module.js texts:: 1
prepend: (1180-1935):: /src/lib/module.js texts:: 1
>>--------------------------------------------------------------------
text: (1172-1927)
text: (1180-1935)
var myGlob = 20;
function libfile0Spread() {
var b = [];
Expand All @@ -740,7 +740,7 @@ define("file2", ["require", "exports"], function (require, exports) {
var globalConst = 10;

----------------------------------------------------------------------
text: (1927-2445)
text: (1935-2453)
define("file3", ["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
Expand Down Expand Up @@ -817,7 +817,7 @@ var __rest = (this && this.__rest) || function (s, e) {
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable(p[i]))
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
Expand Down Expand Up @@ -887,7 +887,7 @@ sourceFile:file0.ts
>>> t[p] = s[p];
>>> if (s != null && typeof Object.getOwnPropertySymbols === "function")
>>> for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
>>> if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable(p[i]))
>>> if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
>>> t[p[i]] = s[p[i]];
>>> }
>>> return t;
Expand Down Expand Up @@ -1194,13 +1194,13 @@ sourceFile:global.ts
},
{
"pos": 678,
"end": 1170,
"end": 1178,
"kind": "emitHelpers",
"data": "typescript:rest"
},
{
"pos": 1172,
"end": 1927,
"pos": 1180,
"end": 1935,
"kind": "text"
}
],
Expand Down Expand Up @@ -1253,20 +1253,20 @@ var __spread = (this && this.__spread) || function () {
return ar;
};
----------------------------------------------------------------------
emitHelpers: (678-1170):: typescript:rest
emitHelpers: (678-1178):: typescript:rest
var __rest = (this && this.__rest) || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable(p[i]))
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
};
----------------------------------------------------------------------
text: (1172-1927)
text: (1180-1935)
var myGlob = 20;
function libfile0Spread() {
var b = [];
Expand Down
Expand Up @@ -25,7 +25,7 @@ var __rest = (this && this.__rest) || function (s, e) {
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable(p[i]))
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
Expand Down Expand Up @@ -108,7 +108,7 @@ sourceFile:../lib/file0.ts
>>> t[p] = s[p];
>>> if (s != null && typeof Object.getOwnPropertySymbols === "function")
>>> for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
>>> if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable(p[i]))
>>> if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
>>> t[p[i]] = s[p[i]];
>>> }
>>> return t;
Expand Down Expand Up @@ -553,26 +553,26 @@ sourceFile:file4.ts
},
{
"pos": 678,
"end": 1170,
"end": 1178,
"kind": "emitHelpers",
"data": "typescript:rest"
},
{
"pos": 1172,
"end": 1813,
"pos": 1180,
"end": 1821,
"kind": "prepend",
"data": "/src/lib/module.js",
"texts": [
{
"pos": 1172,
"end": 1813,
"pos": 1180,
"end": 1821,
"kind": "text"
}
]
},
{
"pos": 1813,
"end": 2331,
"pos": 1821,
"end": 2339,
"kind": "text"
}
],
Expand Down Expand Up @@ -638,22 +638,22 @@ var __spread = (this && this.__spread) || function () {
return ar;
};
----------------------------------------------------------------------
emitHelpers: (678-1170):: typescript:rest
emitHelpers: (678-1178):: typescript:rest
var __rest = (this && this.__rest) || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable(p[i]))
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
};
----------------------------------------------------------------------
prepend: (1172-1813):: /src/lib/module.js texts:: 1
prepend: (1180-1821):: /src/lib/module.js texts:: 1
>>--------------------------------------------------------------------
text: (1172-1813)
text: (1180-1821)
var myGlob = 20;
function libfile0Spread() {
var b = [];
Expand All @@ -676,7 +676,7 @@ define("file2", ["require", "exports"], function (require, exports) {
var globalConst = 10;

----------------------------------------------------------------------
text: (1813-2331)
text: (1821-2339)
define("file3", ["require", "exports"], function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
Expand Down

0 comments on commit 61e1009

Please sign in to comment.