Skip to content

Commit 40feaf0

Browse files
committed
fix tests
1 parent b169995 commit 40feaf0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_cli.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,12 +200,12 @@ TEST_F(CLITest, MethodsHelp_ShowsCommandHelp) {
200200
// Error Handling Tests
201201
// =============================================================================
202202

203-
TEST_F(CLITest, UnknownCommand_ReturnsError) {
203+
TEST_F(CLITest, DefaultMode_NonExistentPath_ReturnsError) {
204204
auto result = runCommand("unknown_command");
205205

206206
EXPECT_NE(result.exitCode, 0);
207207
EXPECT_NE(result.output.find("Error"), std::string::npos);
208-
EXPECT_NE(result.output.find("Unknown command"), std::string::npos);
208+
EXPECT_NE(result.output.find("not found"), std::string::npos);
209209
}
210210

211211
TEST_F(CLITest, MetadataMissingPath_ReturnsError) {

0 commit comments

Comments
 (0)