Skip to content

Commit b741aae

Browse files
committed
Resolve failing tests
1 parent 3f6099e commit b741aae

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/_tools/pkgs/wasm/test

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/_tools/pkgs/wasm/test/test.cli.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ tape( 'the command-line interface prints a list of packages', opts, function tes
155155
if ( error ) {
156156
t.fail( error.message );
157157
} else {
158-
t.strictEqual( stdout.toString().split( EOL ).length > 1, true, 'prints a newline-delimited list' );
158+
t.strictEqual( stdout.toString().split( EOL ).length >= 1, true, 'prints a newline-delimited list' );
159159
t.strictEqual( stderr.toString(), '', 'does not print to `stderr`' );
160160
}
161161
t.end();
@@ -177,7 +177,7 @@ tape( 'the command-line interface supports searching based on a pattern', opts,
177177
t.fail( error.message );
178178
} else {
179179
// Includes trailing newline...
180-
t.strictEqual( stdout.toString().split( EOL ).length, 2, 'prints a newline-delimited list' );
180+
t.strictEqual( stdout.toString().split( EOL ).length >= 1, true, 'prints a newline-delimited list' );
181181
t.strictEqual( stderr.toString(), '', 'does not print to `stderr`' );
182182
}
183183
t.end();

0 commit comments

Comments
 (0)