Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
Signed-off-by: ahcorde <[email protected]>
  • Loading branch information
ahcorde committed Jul 6, 2022
1 parent b24c5cf commit 4bfefee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions loader/src/gz_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -61,18 +61,18 @@ TEST(gzTest, IgnPluginHelp)
std::string gz = std::string(GZ_PATH);
std::string output = custom_exec_str(gz + " plugin --help");
EXPECT_NE(std::string::npos,
output.find("-i,--info Get info about a plugin."))
output.find("-i [--info] Get info about a plugin."))
<< output;
EXPECT_NE(std::string::npos,
output.find("-p,--plugin TEXT Needs: --info"))
output.find("-p [--plugin] TEXT Path to a plugin."))
<< output;

output = custom_exec_str(gz + " plugin");
EXPECT_NE(std::string::npos,
output.find("-i,--info Get info about a plugin."))
output.find("-i [--info] Get info about a plugin."))
<< output;
EXPECT_NE(std::string::npos,
output.find("-p,--plugin TEXT Needs: --info"))
output.find("-p [--plugin] TEXT Path to a plugin."))
<< output;
}

Expand Down

0 comments on commit 4bfefee

Please sign in to comment.