Skip to content

Commit

Permalink
[tests] Add single - test
Browse files Browse the repository at this point in the history
  • Loading branch information
kilativ-dotcom committed Oct 17, 2024
1 parent 8e687ee commit e7d44df
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/units/test_command_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ TEST_F(ScComponentManagerTest, ParseCommandTypes)
commandType = m_commandParser->Parse("components search").first;
EXPECT_EQ(commandType, "search");

commandType = m_commandParser->Parse("components search -").first;
EXPECT_EQ(commandType, "search");

commandType = m_commandParser->Parse("components install").first;
EXPECT_EQ(commandType, "install");
}
Expand Down

0 comments on commit e7d44df

Please sign in to comment.