Fix errors from new cpplint.py (#7105)

This commit is contained in:
Tyler Veness
2024-09-20 17:43:39 -07:00
committed by GitHub
parent f1dde8895e
commit 554024767e
464 changed files with 1026 additions and 218 deletions

View File

@@ -24,5 +24,5 @@ TEST(ScopedTracerTest, Timing) {
frc::sim::ResumeTiming();
std::string_view out = os.str();
EXPECT_TRUE(wpi::starts_with(out, " timing_test: 1.5"));
EXPECT_TRUE(wpi::starts_with(out, "\ttiming_test: 1.5"));
}

View File

@@ -11,7 +11,6 @@
#include <networktables/NetworkTableListener.h>
#include <networktables/StringTopic.h>
#include "frc/shuffleboard/ShuffleboardInstance.h"
#include "shuffleboard/MockActuatorSendable.h"
class NTWrapper {

View File

@@ -2,6 +2,9 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include <string>
#include <vector>
#include <gtest/gtest.h>
#include <networktables/NetworkTableEntry.h>
#include <networktables/NetworkTableInstance.h>

View File

@@ -4,6 +4,8 @@
#include "frc/simulation/AnalogGyroSim.h" // NOLINT(build/include_order)
#include <memory>
#include <gtest/gtest.h>
#include <hal/HAL.h>

View File

@@ -4,6 +4,8 @@
#include "frc/simulation/PowerDistributionSim.h" // NOLINT(build/include_order)
#include <vector>
#include <gtest/gtest.h>
#include <hal/HAL.h>

View File

@@ -4,6 +4,8 @@
#include "frc/simulation/RoboRioSim.h" // NOLINT(build/include_order)
#include <string>
#include <gtest/gtest.h>
#include <hal/HAL.h>
#include <hal/HALBase.h>