From 07bb16e4e41a4c9ea51fafaed2c42e5f6ce0c903 Mon Sep 17 00:00:00 2001 From: Kaya <95276965+kytpbs@users.noreply.github.com> Date: Thu, 14 Nov 2024 02:04:20 +0300 Subject: [PATCH] improve test names --- .../edu/wpi/first/wpilibj2/command/CommandDecoratorTest.java | 2 +- .../src/test/native/cpp/frc2/command/CommandDecoratorTest.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wpilibNewCommands/src/test/java/edu/wpi/first/wpilibj2/command/CommandDecoratorTest.java b/wpilibNewCommands/src/test/java/edu/wpi/first/wpilibj2/command/CommandDecoratorTest.java index 7c5f7abf71f..31cdca04367 100644 --- a/wpilibNewCommands/src/test/java/edu/wpi/first/wpilibj2/command/CommandDecoratorTest.java +++ b/wpilibNewCommands/src/test/java/edu/wpi/first/wpilibj2/command/CommandDecoratorTest.java @@ -441,7 +441,7 @@ void repeatedlyTest() { } @Test - void repeatForTest() { + void repeatedlyCountTest() { try (CommandScheduler scheduler = new CommandScheduler()) { AtomicInteger counter = new AtomicInteger(0); diff --git a/wpilibNewCommands/src/test/native/cpp/frc2/command/CommandDecoratorTest.cpp b/wpilibNewCommands/src/test/native/cpp/frc2/command/CommandDecoratorTest.cpp index 5355c2e99ac..a10d129191b 100644 --- a/wpilibNewCommands/src/test/native/cpp/frc2/command/CommandDecoratorTest.cpp +++ b/wpilibNewCommands/src/test/native/cpp/frc2/command/CommandDecoratorTest.cpp @@ -400,7 +400,7 @@ TEST_F(CommandDecoratorTest, Repeatedly) { EXPECT_TRUE(scheduler.IsScheduled(command)); } -TEST_F(CommandDecoratorTest, RepeatFor) { +TEST_F(CommandDecoratorTest, RepeatedlyCount) { CommandScheduler scheduler = GetScheduler(); int counter = 0;