Description: Initialise array in testfile explicitly to empty string array
Author: Nilesh Patra <nilesh@debian.org>
Last-Update: 2021-08-28
--- a/tests/test_variants.cpp
+++ b/tests/test_variants.cpp
@@ -31,7 +31,7 @@
   // Quality threshold 25. Frequency threshold: 0.03. Total_DP = 2. Freq = 0.5 No Indel.
   std::string t_25_03[3] = {"test\t210\tA\tT\t1\t1\t41\t1\t1\t58\t0.5\t2\t0.4\tFALSE\tid-test3\tAAG\tK\tATG\tM", "test\t210\tA\tT\t1\t1\t41\t1\t1\t58\t0.5\t2\t0.4\tFALSE\tid-testedit1\tGAA\tE\tGAT\tD", "test\t210\tA\tT\t1\t1\t41\t1\t1\t58\t0.5\t2\t0.4\tFALSE\tid-testedit2\tAGA\tR\tTGA\t*"};
   // Minimum depth threshold. Should be empty
-  std::string t_25_03_20[] = {};
+  std::string t_25_03_20[] = {""};
   num_success = call_var_check_outfile("../data/test.indel", 20, 0, 0.02, t_20_02_1, 4);
   std::cout << num_success << std::endl;
   num_success += call_var_check_outfile("../data/test.indel", 20, 0, 0.03, t_20_03, 3);
