From c2bc162f3c811290aa3f155e48ce6353e0bae4b8 Mon Sep 17 00:00:00 2001 From: Henrique Doro Date: Mon, 11 Oct 2021 13:57:07 -0300 Subject: [PATCH] fix(tests): normalize path in cli.test.js --- test/cli.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cli.test.js b/test/cli.test.js index e98124b7..1c0a79b1 100644 --- a/test/cli.test.js +++ b/test/cli.test.js @@ -51,5 +51,5 @@ tap.test('shows stack trace with --debug', async (t) => { t.equal(exitCode, 1, 'should have exit code 1') t.equal(stdout, '', 'should have empty stdout') t.match(stderr, 'only one can be used at a time') - t.match(stderr, '/cmds/version.js:') + t.match(stderr, path.normalize('/cmds/version.js')) })