@@ -12,19 +12,22 @@ struct count_options_test : public app_test
1212TEST_F (count_options_test, no_options)
1313{
1414 app_test_result result = execute_app (" count" );
15- std::string expected{" needle-count - Get expression value depending on minimizers. "
16- " This function is an alternative to pseudoaligners like kallisto. It "
17- " estimates the expression value for all sequences in the genome file "
18- " based on the exact minimiser occurrences of the given sequence files. "
19- " Please run genome beforehand to create the genome file.\n "
20- " ======================================================================"
21- " ======================================================================"
22- " ======================================================================"
23- " ======================================================================"
24- " ==========================================\n "
25- " Try -h or --help for more information.\n " };
15+ std::string expected{" needle-count - Get expression value depending on minimizers. This function is an alternative "
16+ " to pseudoaligners like kallisto. It estimates the expression value for all sequences in the "
17+ " genome file based on the exact minimiser occurrences of the given sequence files. Please run "
18+ " genome beforehand to create the genome "
19+ " file.\n ======================================================================================"
20+ " ============================================================================================="
21+ " ============================================================================================="
22+ " ==================================================\n "
23+ " needle count [-p|--paired] [-k|--kmer uint8] [-w|--window uint32] [--shape\n "
24+ " uint64] [--seed uint64] [-o|--out path] [-t|--threads uint16] --include\n "
25+ " path [--genome path] [--] path...\n "
26+ " Try -h or --help for more information.\n " };
2627 EXPECT_SUCCESS (result);
28+ #ifndef __APPLE__ // uint64_t vs unsigned long in sharg 1.2.1
2729 EXPECT_EQ (result.out , expected);
30+ #endif
2831 EXPECT_EQ (result.err , std::string{});
2932}
3033
@@ -85,9 +88,14 @@ TEST_F(genome_options_test, no_options)
8588 app_test_result result = execute_app (" genome" );
8689 std::string expected{" needle-genome - Creates the genome file necessary as an input to count.\n "
8790 " =======================================================================\n "
91+ " needle genome [-k|--kmer uint8] [-w|--window uint32] [--shape uint64]\n "
92+ " [--seed uint64] [-o|--out path] [-t|--threads uint16] [--exclude path]\n "
93+ " [--] path\n "
8894 " Try -h or --help for more information.\n " };
8995 EXPECT_SUCCESS (result);
96+ #ifndef __APPLE__ // uint64_t vs unsigned long in sharg 1.2.1
9097 EXPECT_EQ (result.out , expected);
98+ #endif
9199 EXPECT_EQ (result.err , std::string{});
92100}
93101
0 commit comments