+8
-1
lines changedFilter options
+8
-1
lines changed Original file line number Diff line number Diff line change
@@ -52,7 +52,14 @@ function testCwd(options, expectPidType, expectCode = 0, expectData) {
52
52
});
53
53
54
54
child.on('close', common.mustCall(function() {
55
-
expectData && assert.strictEqual(data.trim(), expectData);
55
+
if (expectData) {
56
+
// In Windows, compare without considering case
57
+
if (common.isWindows) {
58
+
assert.strictEqual(data.trim().toLowerCase(), expectData.toLowerCase());
59
+
} else {
60
+
assert.strictEqual(data.trim(), expectData);
61
+
}
62
+
}
56
63
}));
57
64
58
65
return child;
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4