From 9591acd428cf6219e1ab50050a0e4aee574f92f3 Mon Sep 17 00:00:00 2001 From: Chris Trzesniewski Date: Wed, 3 Apr 2024 10:31:41 +0200 Subject: [PATCH] use proper json files --- test/__snapshots__/extract.spec.ts.snap | 6 +++--- ...IsBetter_output.txt => customBiggerIsBetter_output.json} | 0 ...sBetter_output.txt => customSmallerIsBetter_output.json} | 0 .../extract/{googlecpp_output.txt => googlecpp_output.json} | 0 test/extract.spec.ts | 6 +++--- 5 files changed, 6 insertions(+), 6 deletions(-) rename test/data/extract/{customBiggerIsBetter_output.txt => customBiggerIsBetter_output.json} (100%) rename test/data/extract/{customSmallerIsBetter_output.txt => customSmallerIsBetter_output.json} (100%) rename test/data/extract/{googlecpp_output.txt => googlecpp_output.json} (100%) diff --git a/test/__snapshots__/extract.spec.ts.snap b/test/__snapshots__/extract.spec.ts.snap index cb0b4bf6f..d37f347a7 100644 --- a/test/__snapshots__/extract.spec.ts.snap +++ b/test/__snapshots__/extract.spec.ts.snap @@ -298,7 +298,7 @@ exports[`extractResult() extracts benchmark output from catch2 - issue16_output. } `; -exports[`extractResult() extracts benchmark output from customBiggerIsBetter - customBiggerIsBetter_output.txt 1`] = ` +exports[`extractResult() extracts benchmark output from customBiggerIsBetter - customBiggerIsBetter_output.json 1`] = ` { "benches": [ { @@ -331,7 +331,7 @@ Anything Else!", } `; -exports[`extractResult() extracts benchmark output from customSmallerIsBetter - customSmallerIsBetter_output.txt 1`] = ` +exports[`extractResult() extracts benchmark output from customSmallerIsBetter - customSmallerIsBetter_output.json 1`] = ` { "benches": [ { @@ -644,7 +644,7 @@ exports[`extractResult() extracts benchmark output from go - go_output.txt 1`] = } `; -exports[`extractResult() extracts benchmark output from googlecpp - googlecpp_output.txt 1`] = ` +exports[`extractResult() extracts benchmark output from googlecpp - googlecpp_output.json 1`] = ` { "benches": [ { diff --git a/test/data/extract/customBiggerIsBetter_output.txt b/test/data/extract/customBiggerIsBetter_output.json similarity index 100% rename from test/data/extract/customBiggerIsBetter_output.txt rename to test/data/extract/customBiggerIsBetter_output.json diff --git a/test/data/extract/customSmallerIsBetter_output.txt b/test/data/extract/customSmallerIsBetter_output.json similarity index 100% rename from test/data/extract/customSmallerIsBetter_output.txt rename to test/data/extract/customSmallerIsBetter_output.json diff --git a/test/data/extract/googlecpp_output.txt b/test/data/extract/googlecpp_output.json similarity index 100% rename from test/data/extract/googlecpp_output.txt rename to test/data/extract/googlecpp_output.json diff --git a/test/extract.spec.ts b/test/extract.spec.ts index f5fdb2dbf..2e8817e2b 100644 --- a/test/extract.spec.ts +++ b/test/extract.spec.ts @@ -97,7 +97,7 @@ describe('extractResult()', function () { }, { tool: 'googlecpp', - file: 'googlecpp_output.txt', + file: 'googlecpp_output.json', }, { tool: 'pytest', @@ -125,11 +125,11 @@ describe('extractResult()', function () { }, { tool: 'customBiggerIsBetter', - file: 'customBiggerIsBetter_output.txt', + file: 'customBiggerIsBetter_output.json', }, { tool: 'customSmallerIsBetter', - file: 'customSmallerIsBetter_output.txt', + file: 'customSmallerIsBetter_output.json', }, ];