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 <53231611+Starlight220@users.noreply.github.com>
  • Loading branch information
Gold856 and Starlight220 authored Sep 18, 2024
1 parent 8c8d94d commit 147b348
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 147b348

Please sign in to comment.