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 11, 2024
1 parent 70dddaf commit 2dfe601
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 2dfe601

Please sign in to comment.