Skip to content

Commit

Permalink
Update baselines for corrected line endings in lib files
Browse files Browse the repository at this point in the history
The old gulpfile produced lib.d.ts files with mixed newlines, thanks to
the files containing CRLF, but the gulp streams adding in LF.

Now they're all LF, which matches every other file in built / lib, but
our baselines are sensitive to this. Rerun the tests and accept them.
  • Loading branch information
jakebailey committed Oct 24, 2022
1 parent 57a42fd commit 2c74e88
Show file tree
Hide file tree
Showing 7 changed files with 410 additions and 410 deletions.
30 changes: 15 additions & 15 deletions tests/baselines/reference/completionEntryForUnionMethod.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@
],
"documentation": [
{
"text": "Combines two or more arrays.\r\nThis method returns a new array without modifying any existing arrays.",
"text": "Combines two or more arrays.\nThis method returns a new array without modifying any existing arrays.",
"kind": "text"
}
],
Expand Down Expand Up @@ -1047,7 +1047,7 @@
"kind": "space"
},
{
"text": "A function that accepts up to three arguments. The every method calls\r\nthe predicate function for each element in the array until the predicate returns a value\r\nwhich is coercible to the Boolean value false, or until the end of the array.",
"text": "A function that accepts up to three arguments. The every method calls\nthe predicate function for each element in the array until the predicate returns a value\nwhich is coercible to the Boolean value false, or until the end of the array.",
"kind": "text"
}
]
Expand All @@ -1064,7 +1064,7 @@
"kind": "space"
},
{
"text": "An object to which the this keyword can refer in the predicate function.\r\nIf thisArg is omitted, undefined is used as the this value.",
"text": "An object to which the this keyword can refer in the predicate function.\nIf thisArg is omitted, undefined is used as the this value.",
"kind": "text"
}
]
Expand All @@ -1081,7 +1081,7 @@
"kind": "space"
},
{
"text": "A function that accepts up to three arguments. The every method calls\r\nthe predicate function for each element in the array until the predicate returns a value\r\nwhich is coercible to the Boolean value false, or until the end of the array.",
"text": "A function that accepts up to three arguments. The every method calls\nthe predicate function for each element in the array until the predicate returns a value\nwhich is coercible to the Boolean value false, or until the end of the array.",
"kind": "text"
}
]
Expand All @@ -1098,7 +1098,7 @@
"kind": "space"
},
{
"text": "An object to which the this keyword can refer in the predicate function.\r\nIf thisArg is omitted, undefined is used as the this value.",
"text": "An object to which the this keyword can refer in the predicate function.\nIf thisArg is omitted, undefined is used as the this value.",
"kind": "text"
}
]
Expand Down Expand Up @@ -3001,7 +3001,7 @@
],
"documentation": [
{
"text": "Removes the last element from an array and returns it.\r\nIf the array is empty, undefined is returned and the array is not modified.",
"text": "Removes the last element from an array and returns it.\nIf the array is empty, undefined is returned and the array is not modified.",
"kind": "text"
}
]
Expand Down Expand Up @@ -4696,7 +4696,7 @@
],
"documentation": [
{
"text": "Reverses the elements in an array in place.\r\nThis method mutates the array and returns a reference to the same array.",
"text": "Reverses the elements in an array in place.\nThis method mutates the array and returns a reference to the same array.",
"kind": "text"
}
]
Expand Down Expand Up @@ -4786,7 +4786,7 @@
],
"documentation": [
{
"text": "Removes the first element from an array and returns it.\r\nIf the array is empty, undefined is returned and the array is not modified.",
"text": "Removes the first element from an array and returns it.\nIf the array is empty, undefined is returned and the array is not modified.",
"kind": "text"
}
]
Expand Down Expand Up @@ -4940,7 +4940,7 @@
],
"documentation": [
{
"text": "Returns a copy of a section of an array.\r\nFor both start and end, a negative index can be used to indicate an offset from the end of the array.\r\nFor example, -2 refers to the second to last element of the array.",
"text": "Returns a copy of a section of an array.\nFor both start and end, a negative index can be used to indicate an offset from the end of the array.\nFor example, -2 refers to the second to last element of the array.",
"kind": "text"
}
],
Expand All @@ -4957,7 +4957,7 @@
"kind": "space"
},
{
"text": "The beginning index of the specified portion of the array.\r\nIf start is undefined, then the slice begins at index 0.",
"text": "The beginning index of the specified portion of the array.\nIf start is undefined, then the slice begins at index 0.",
"kind": "text"
}
]
Expand All @@ -4974,7 +4974,7 @@
"kind": "space"
},
{
"text": "The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.\r\nIf end is undefined, then the slice extends to the end of the array.",
"text": "The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.\nIf end is undefined, then the slice extends to the end of the array.",
"kind": "text"
}
]
Expand Down Expand Up @@ -5323,7 +5323,7 @@
"kind": "space"
},
{
"text": "A function that accepts up to three arguments. The some method calls\r\nthe predicate function for each element in the array until the predicate returns a value\r\nwhich is coercible to the Boolean value true, or until the end of the array.",
"text": "A function that accepts up to three arguments. The some method calls\nthe predicate function for each element in the array until the predicate returns a value\nwhich is coercible to the Boolean value true, or until the end of the array.",
"kind": "text"
}
]
Expand All @@ -5340,7 +5340,7 @@
"kind": "space"
},
{
"text": "An object to which the this keyword can refer in the predicate function.\r\nIf thisArg is omitted, undefined is used as the this value.",
"text": "An object to which the this keyword can refer in the predicate function.\nIf thisArg is omitted, undefined is used as the this value.",
"kind": "text"
}
]
Expand Down Expand Up @@ -5616,7 +5616,7 @@
],
"documentation": [
{
"text": "Sorts an array in place.\r\nThis method mutates the array and returns a reference to the same array.",
"text": "Sorts an array in place.\nThis method mutates the array and returns a reference to the same array.",
"kind": "text"
}
],
Expand All @@ -5633,7 +5633,7 @@
"kind": "space"
},
{
"text": "Function used to determine the order of the elements. It is expected to return\r\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\r\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\r\n```ts\r\n[11,2,22,1].sort((a, b) => a - b)\r\n```",
"text": "Function used to determine the order of the elements. It is expected to return\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n```ts\n[11,2,22,1].sort((a, b) => a - b)\n```",
"kind": "text"
}
]
Expand Down
22 changes: 11 additions & 11 deletions tests/baselines/reference/completionsCommentsClass.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@
],
"documentation": [
{
"text": "Represents a raw buffer of binary data, which is used to store data for the\r\ndifferent typed arrays. ArrayBuffers cannot be read from or written to directly,\r\nbut can be passed to a typed array or DataView Object to interpret the raw\r\nbuffer as needed.",
"text": "Represents a raw buffer of binary data, which is used to store data for the\ndifferent typed arrays. ArrayBuffers cannot be read from or written to directly,\nbut can be passed to a typed array or DataView Object to interpret the raw\nbuffer as needed.",
"kind": "text"
}
]
Expand Down Expand Up @@ -1748,7 +1748,7 @@
],
"documentation": [
{
"text": "A typed array of 32-bit float values. The contents are initialized to 0. If the requested number\r\nof bytes could not be allocated an exception is raised.",
"text": "A typed array of 32-bit float values. The contents are initialized to 0. If the requested number\nof bytes could not be allocated an exception is raised.",
"kind": "text"
}
]
Expand Down Expand Up @@ -1802,7 +1802,7 @@
],
"documentation": [
{
"text": "A typed array of 64-bit float values. The contents are initialized to 0. If the requested\r\nnumber of bytes could not be allocated an exception is raised.",
"text": "A typed array of 64-bit float values. The contents are initialized to 0. If the requested\nnumber of bytes could not be allocated an exception is raised.",
"kind": "text"
}
]
Expand Down Expand Up @@ -2060,7 +2060,7 @@
],
"documentation": [
{
"text": "A typed array of 16-bit signed integer values. The contents are initialized to 0. If the\r\nrequested number of bytes could not be allocated an exception is raised.",
"text": "A typed array of 16-bit signed integer values. The contents are initialized to 0. If the\nrequested number of bytes could not be allocated an exception is raised.",
"kind": "text"
}
]
Expand Down Expand Up @@ -2114,7 +2114,7 @@
],
"documentation": [
{
"text": "A typed array of 32-bit signed integer values. The contents are initialized to 0. If the\r\nrequested number of bytes could not be allocated an exception is raised.",
"text": "A typed array of 32-bit signed integer values. The contents are initialized to 0. If the\nrequested number of bytes could not be allocated an exception is raised.",
"kind": "text"
}
]
Expand Down Expand Up @@ -2168,7 +2168,7 @@
],
"documentation": [
{
"text": "A typed array of 8-bit integer values. The contents are initialized to 0. If the requested\r\nnumber of bytes could not be allocated an exception is raised.",
"text": "A typed array of 8-bit integer values. The contents are initialized to 0. If the requested\nnumber of bytes could not be allocated an exception is raised.",
"kind": "text"
}
]
Expand Down Expand Up @@ -2937,7 +2937,7 @@
"kind": "space"
},
{
"text": "A value between 2 and 36 that specifies the base of the number in `string`.\r\nIf this argument is not supplied, strings with a prefix of '0x' are considered hexadecimal.\r\nAll other strings are considered decimal.",
"text": "A value between 2 and 36 that specifies the base of the number in `string`.\nIf this argument is not supplied, strings with a prefix of '0x' are considered hexadecimal.\nAll other strings are considered decimal.",
"kind": "text"
}
]
Expand Down Expand Up @@ -3448,7 +3448,7 @@
],
"documentation": [
{
"text": "A typed array of 16-bit unsigned integer values. The contents are initialized to 0. If the\r\nrequested number of bytes could not be allocated an exception is raised.",
"text": "A typed array of 16-bit unsigned integer values. The contents are initialized to 0. If the\nrequested number of bytes could not be allocated an exception is raised.",
"kind": "text"
}
]
Expand Down Expand Up @@ -3502,7 +3502,7 @@
],
"documentation": [
{
"text": "A typed array of 32-bit unsigned integer values. The contents are initialized to 0. If the\r\nrequested number of bytes could not be allocated an exception is raised.",
"text": "A typed array of 32-bit unsigned integer values. The contents are initialized to 0. If the\nrequested number of bytes could not be allocated an exception is raised.",
"kind": "text"
}
]
Expand Down Expand Up @@ -3556,7 +3556,7 @@
],
"documentation": [
{
"text": "A typed array of 8-bit unsigned integer values. The contents are initialized to 0. If the\r\nrequested number of bytes could not be allocated an exception is raised.",
"text": "A typed array of 8-bit unsigned integer values. The contents are initialized to 0. If the\nrequested number of bytes could not be allocated an exception is raised.",
"kind": "text"
}
]
Expand Down Expand Up @@ -3610,7 +3610,7 @@
],
"documentation": [
{
"text": "A typed array of 8-bit unsigned integer (clamped) values. The contents are initialized to 0.\r\nIf the requested number of bytes could not be allocated an exception is raised.",
"text": "A typed array of 8-bit unsigned integer (clamped) values. The contents are initialized to 0.\nIf the requested number of bytes could not be allocated an exception is raised.",
"kind": "text"
}
]
Expand Down
Loading

0 comments on commit 2c74e88

Please sign in to comment.