diff --git a/test/v8-updates/test-linux-perf-logger.js b/test/v8-updates/test-linux-perf-logger.js index a2747b7c4282d1..2698530a0f37ce 100644 --- a/test/v8-updates/test-linux-perf-logger.js +++ b/test/v8-updates/test-linux-perf-logger.js @@ -46,7 +46,7 @@ const testCases = [ matches: [ '~functionOne .+/linux-perf-logger.js', '~functionTwo .+/linux-perf-logger.js', - 'test-regex', + "src: 'test-regex' flags: 'gi'", ], noMatches: ['\\*functionOne', '\\*functionTwo'], }, @@ -55,7 +55,7 @@ const testCases = [ nodeFlags: ['--perf-basic-prof', '--no-turbo-inlining', '--always-turbofan', '--minimum-invocations-before-optimization=0'], matches: [ - 'test-regex', + "src: 'test-regex' flags: 'gi'", '~functionOne .+/linux-perf-logger.js', '~functionTwo .+/linux-perf-logger.js', '\\*functionOne .+/linux-perf-logger.js',