From 4ee6cfb0b6c25fdec558ed8864f2104d77fbdcdc Mon Sep 17 00:00:00 2001 From: Kyle Farris Date: Mon, 22 Jul 2024 13:49:12 -0400 Subject: [PATCH] Added consecutive spaces to bad file string for testing. --- tests/eicargen.js | 2 +- tests/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/eicargen.js b/tests/eicargen.js index 2388c83..2545f53 100644 --- a/tests/eicargen.js +++ b/tests/eicargen.js @@ -14,7 +14,7 @@ const goodScanDir = `${__dirname}/good_scan_dir`; const badScanDir = `${__dirname}/bad_scan_dir`; const mixedScanDir = `${__dirname}/mixed_scan_dir` const badScanFile = `${badScanDir}/bad_file_1.txt`; -const spacedVirusFile = `${badScanDir}/bad file 1.txt`; +const spacedVirusFile = `${badScanDir}/bad file 1.txt`; // prettier-ignore const eicarByteArray = [ diff --git a/tests/index.js b/tests/index.js index 47075f6..1591f30 100755 --- a/tests/index.js +++ b/tests/index.js @@ -21,7 +21,7 @@ const goodScanFile2 = `${goodScanDir}/good_file_2.txt`; const goodFileList = `${__dirname}/good_files_list.txt`; const badScanDir = `${__dirname}/bad_scan_dir`; const badScanFile = `${badScanDir}/bad_file_1.txt`; -const spacedVirusFile = `${badScanDir}/bad file 1.txt`; +const spacedVirusFile = `${badScanDir}/bad file 1.txt`; const badFileList = `${__dirname}/bad_files_list.txt`; const mixedScanDir = `${__dirname}/mixed_scan_dir`; const passthruFile = `${__dirname}/output`;