Skip to content

Commit

Permalink
cross-platform: fix biops test output for xplat
Browse files Browse the repository at this point in the history
  • Loading branch information
obastemur committed Aug 10, 2016
1 parent 10fbe7b commit aacc5fa
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/Operators/biops.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//-------------------------------------------------------------------------------------------------------

function write(v) { WScript.Echo(v + ""); }
function write(v) {
v = (v + "").replace(/\(PST\)/g, "(Pacific Standard Time)")
.replace(/\(PDT\)/g, "(Pacific Daylight Time)");

WScript.Echo(v);
}

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

];

var biops = [
Expand Down

0 comments on commit aacc5fa

Please sign in to comment.