/**
* @brief Verify if passing no filenames to checksum generator returns error message
* @test Expected result:
- * - CYNARA_API_INVALID_COMMANDLINE_PARAM returned from checksum generator
+ * - CYNARA_API_UNKNOWN_ERROR returned from checksum generator
* - empty output stream
* - message from caught exception in error stream
*/
const auto ret = chsgen.run();
getOutput(out, err);
- ASSERT_EQ(CYNARA_API_INVALID_COMMANDLINE_PARAM, ret);
+ ASSERT_EQ(CYNARA_API_UNKNOWN_ERROR, ret);
ASSERT_TRUE(out.empty());
- ASSERT_THAT(err, StartsWith("File " + std::string() + " not found or corrupted badly"));
+ ASSERT_THAT(err, StartsWith("File not found: " + std::string()));
}
/**