We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b169995 commit 40feaf0Copy full SHA for 40feaf0
tests/test_cli.cpp
@@ -200,12 +200,12 @@ TEST_F(CLITest, MethodsHelp_ShowsCommandHelp) {
200
// Error Handling Tests
201
// =============================================================================
202
203
-TEST_F(CLITest, UnknownCommand_ReturnsError) {
+TEST_F(CLITest, DefaultMode_NonExistentPath_ReturnsError) {
204
auto result = runCommand("unknown_command");
205
206
EXPECT_NE(result.exitCode, 0);
207
EXPECT_NE(result.output.find("Error"), std::string::npos);
208
- EXPECT_NE(result.output.find("Unknown command"), std::string::npos);
+ EXPECT_NE(result.output.find("not found"), std::string::npos);
209
}
210
211
TEST_F(CLITest, MetadataMissingPath_ReturnsError) {
0 commit comments