mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
Ran format.py after writing unit tests for and fixing bugs in it (#239)
This commit is contained in:
committed by
Peter Johnson
parent
ac9b6f7b18
commit
659dbef751
@@ -5,6 +5,8 @@
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#include <cstdlib>
|
||||
|
||||
#include "DriverStation.h"
|
||||
#include "LiveWindow/LiveWindow.h"
|
||||
#include "Timer.h"
|
||||
@@ -22,7 +24,7 @@ class TestEnvironment : public testing::Environment {
|
||||
|
||||
if (!HAL_Initialize(0)) {
|
||||
std::cerr << "FATAL ERROR: HAL could not be initialized" << std::endl;
|
||||
exit(-1);
|
||||
std::exit(-1);
|
||||
}
|
||||
|
||||
/* This sets up the network communications library to enable the driver
|
||||
|
||||
Reference in New Issue
Block a user