Skip to content

Commit 1cd3ddf

Browse files
committed
fixup! test: ensure assertions are reached on more tests
fix Windows tests
1 parent 095eb1d commit 1cd3ddf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/parallel/test-repl-persistent-history.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ const tests = [
140140
before: common.mustCall(function before() {
141141
if (common.isWindows) {
142142
const execSync = require('child_process').execSync;
143-
execSync(`ATTRIB +H "${emptyHiddenHistoryPath}"`, common.mustSucceed());
143+
execSync(`ATTRIB +H "${emptyHiddenHistoryPath}"`);
144144
}
145145
}),
146146
env: { NODE_REPL_HISTORY: emptyHiddenHistoryPath },

test/parallel/test-repl-programmatic-history-setup-history.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ const tests = [
141141
before: common.mustCall(function before() {
142142
if (common.isWindows) {
143143
const execSync = require('child_process').execSync;
144-
execSync(`ATTRIB +H "${emptyHiddenHistoryPath}"`, common.mustSucceed());
144+
execSync(`ATTRIB +H "${emptyHiddenHistoryPath}"`);
145145
}
146146
}),
147147
env: { NODE_REPL_HISTORY: emptyHiddenHistoryPath },

test/parallel/test-repl-programmatic-history.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ const tests = [
134134
before: common.mustCall(function before() {
135135
if (common.isWindows) {
136136
const execSync = require('child_process').execSync;
137-
execSync(`ATTRIB +H "${emptyHiddenHistoryPath}"`, common.mustSucceed());
137+
execSync(`ATTRIB +H "${emptyHiddenHistoryPath}"`);
138138
}
139139
}),
140140
env: { NODE_REPL_HISTORY: emptyHiddenHistoryPath },

0 commit comments

Comments
 (0)