From ed766c9d231fb34b377bdfac61084d2f017df6d6 Mon Sep 17 00:00:00 2001 From: Gold856 <117957790+Gold856@users.noreply.github.com> Date: Wed, 18 Sep 2024 00:39:37 -0400 Subject: [PATCH] Update wpilibNewCommands/src/test/native/cpp/frc2/command/CommandSendableButtonTest.cpp Co-authored-by: Starlight220 <53231611+Starlight220@users.noreply.github.com> --- .../test/native/cpp/frc2/command/CommandSendableButtonTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpilibNewCommands/src/test/native/cpp/frc2/command/CommandSendableButtonTest.cpp b/wpilibNewCommands/src/test/native/cpp/frc2/command/CommandSendableButtonTest.cpp index ae2a1098ed3..1e97f7cfc55 100644 --- a/wpilibNewCommands/src/test/native/cpp/frc2/command/CommandSendableButtonTest.cpp +++ b/wpilibNewCommands/src/test/native/cpp/frc2/command/CommandSendableButtonTest.cpp @@ -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());