From 098e358f93130494980138decf82a173051c47bc Mon Sep 17 00:00:00 2001 From: Irven Aelbrecht Date: Mon, 17 Apr 2023 09:22:31 +0200 Subject: [PATCH] :white_check_mark: fix windows test --- test/external-assertions/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/external-assertions/test.js b/test/external-assertions/test.js index a50deabf9..f3660ae4a 100644 --- a/test/external-assertions/test.js +++ b/test/external-assertions/test.js @@ -4,10 +4,10 @@ import {fixture} from '../helpers/exec.js'; test('node assertion ', async t => { const result = await t.throwsAsync(fixture(['assert-failure.js'])); - t.snapshot(result.stdout.replace(/\r/g, '')); + t.snapshot(result.stdout.replace(/\r/g, '').replace(/\/\/\//g, '//')); }); test('expect error ', async t => { const result = await t.throwsAsync(fixture(['expect-failure.js'])); - t.snapshot(result.stdout.replace(/\r/g, '')); + t.snapshot(result.stdout.replace(/\r/g, '').replace(/\/\/\//g, '//')); });