Skip to content

Commit

Permalink
test: adjusting to new order of properties
Browse files Browse the repository at this point in the history
  • Loading branch information
SGSSGene committed Oct 6, 2023
1 parent 2d893d5 commit f442586
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions test/unit/detail/format_cwl_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ TEST(format_cwl_test, empty_information)
parser.info.man_page_title = "default_man_page_title";
parser.info.short_description = "A short description here.";

std::string expected_short = "inputs:\n"
" {}\n"
"outputs:\n"
" {}\n"
"label: default\n"
std::string expected_short = "label: default\n"
"doc: \"\"\n"
"inputs:\n"
" []\n"
"outputs:\n"
" []\n"
"cwlVersion: v1.2\n"
"class: CommandLineTool\n"
"baseCommand:\n"
Expand Down Expand Up @@ -75,7 +75,9 @@ TEST(format_cwl_test, full_information)
parser.info.examples.push_back("example");
parser.info.examples.push_back("example2");

std::string expected_short = "inputs:\n"
std::string expected_short = "label: default\n"
"doc: \"description\\ndescription2\\n\"\n"
"inputs:\n"
" int:\n"
" doc: \"this is a int option. Default: 5. \"\n"
" type: long?\n"
Expand All @@ -87,9 +89,7 @@ TEST(format_cwl_test, full_information)
" inputBinding:\n"
" prefix: --jint\n"
"outputs:\n"
" {}\n"
"label: default\n"
"doc: \"description\\ndescription2\\n\"\n"
" []\n"
"cwlVersion: v1.2\n"
"class: CommandLineTool\n"
"baseCommand:\n"
Expand Down Expand Up @@ -193,6 +193,8 @@ TEST(format_cwl_test, subparser)
sub_parser.info.examples.push_back("example2");

std::string expected_short =
"label: default-index\n"
"doc: \"\"\n"
"inputs:\n"
" int:\n"
" doc: \"this is a int option. Default: 5. \"\n"
Expand Down Expand Up @@ -251,8 +253,6 @@ TEST(format_cwl_test, subparser)
" type: Directory?\n"
" outputBinding:\n"
" glob: $(inputs.path05)\n"
"label: default-index\n"
"doc: \"\"\n"
"cwlVersion: v1.2\n"
"class: CommandLineTool\n"
"baseCommand:\n"
Expand Down

0 comments on commit f442586

Please sign in to comment.