Skip to content

Commit 8e9a2dd

Browse files
committed
[MERGE #1414 @obastemur] cross-platform: fix biops test output for xplat
Merge pull request #1414 from obastemur:fix_biops_test
2 parents 8266bda + aacc5fa commit 8e9a2dd

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

test/Operators/biops.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@
33
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
44
//-------------------------------------------------------------------------------------------------------
55

6-
function write(v) { WScript.Echo(v + ""); }
6+
function write(v) {
7+
v = (v + "").replace(/\(PST\)/g, "(Pacific Standard Time)")
8+
.replace(/\(PDT\)/g, "(Pacific Daylight Time)");
9+
10+
WScript.Echo(v);
11+
}
712

813
function foo() {}
914
var d = new Date("Thu Aug 5 05:30:00 PDT 2010");
@@ -29,7 +34,6 @@ var all = [ undefined, null,
2934
[1,2,3], [1,2,3],
3035
new Array(3), Array(3), new Array(1, 2, 3), Array(1),
3136
foo, d, 1281011400000 , d.getVarDate()
32-
3337
];
3438

3539
var biops = [

0 commit comments

Comments
 (0)