Skip to content

Commit

Permalink
Update wpilibNewCommands/src/test/native/cpp/frc2/command/CommandSend…
Browse files Browse the repository at this point in the history
…ableButtonTest.cpp

Co-authored-by: Starlight220 <[email protected]>
  • Loading branch information
Gold856 and Starlight220 committed Oct 12, 2024
1 parent 94362de commit cb5b762
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ TEST_F(CommandSendableButtonTest, trueAndNotScheduledSchedules) {

TEST_F(CommandSendableButtonTest, trueAndScheduledNoOp) {
// Scheduled and true -> no-op
frc2::CommandScheduler::GetInstance().Schedule(m_command);
frc2::CommandScheduler::GetInstance().Schedule(m_command.value());
GetScheduler().Run();
frc::SmartDashboard::UpdateValues();
EXPECT_TRUE(m_command->IsScheduled());
Expand Down

0 comments on commit cb5b762

Please sign in to comment.