Ran format.py after writing unit tests for and fixing bugs in it (#239)

This commit is contained in:
Tyler Veness
2016-09-21 23:48:54 -07:00
committed by Peter Johnson
parent ac9b6f7b18
commit 659dbef751
20 changed files with 96 additions and 75 deletions

View File

@@ -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