From dc09aba642f87e0e5103408894ad4fdcc1eeadd4 Mon Sep 17 00:00:00 2001 From: Eugenio Berretta Date: Wed, 4 Sep 2024 16:14:15 +0200 Subject: [PATCH] refactor(e2e): rename var --- report-viewer/tests/e2e/OpenComparisonTest.spec.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/report-viewer/tests/e2e/OpenComparisonTest.spec.ts b/report-viewer/tests/e2e/OpenComparisonTest.spec.ts index a5e8bf39e..6577953f1 100644 --- a/report-viewer/tests/e2e/OpenComparisonTest.spec.ts +++ b/report-viewer/tests/e2e/OpenComparisonTest.spec.ts @@ -8,7 +8,7 @@ interface DataSet { secondSubmissionName: string } -const regexpPathSeparator = '(\\\\|\\/)'; +const regexPathSeparator = '(\\\\|\\/)'; const testSets: DataSet[] = [ { @@ -43,13 +43,13 @@ const testSets: DataSet[] = [ }, { datasetName: 'singleNewSubmission-report.zip', - firstSubmissionName: `2023${regexpPathSeparator}QSort2023.java`, - secondSubmissionName: `2022${regexpPathSeparator}QSort2022.java`, + firstSubmissionName: `2023${regexPathSeparator}QSort2023.java`, + secondSubmissionName: `2022${regexPathSeparator}QSort2022.java`, }, { datasetName: 'submissionsWithSameName-report.zip', - firstSubmissionName: `2023${regexpPathSeparator}gr1`, - secondSubmissionName: `2023${regexpPathSeparator}gr2` + firstSubmissionName: `2023${regexPathSeparator}gr1`, + secondSubmissionName: `2023${regexPathSeparator}gr2` }, { datasetName: 'python-report.zip',