From 470363f8936a348b43cd88e1c3f2804a8523890b Mon Sep 17 00:00:00 2001 From: Michael Richters Date: Wed, 28 Oct 2020 09:19:13 -0500 Subject: [PATCH] Whitespace only, for readability Signed-off-by: Michael Richters --- testing/SimHarness.h | 1 + testing/setup-googletest.h | 16 ++++++++-------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/testing/SimHarness.h b/testing/SimHarness.h index 4256ffde..bda69547 100644 --- a/testing/SimHarness.h +++ b/testing/SimHarness.h @@ -36,6 +36,7 @@ class SimHarness { void Release(uint8_t row, uint8_t col); void SetCycleTime(uint8_t millis); uint8_t CycleTime() const; + private: uint8_t millis_per_cycle_ = 1; }; diff --git a/testing/setup-googletest.h b/testing/setup-googletest.h index a79eb6db..7261cea6 100644 --- a/testing/setup-googletest.h +++ b/testing/setup-googletest.h @@ -30,12 +30,12 @@ #include "testing/matchers.h" #include "testing/VirtualDeviceTest.h" -#define SETUP_GOOGLETEST() \ - void executeTestFunction() { \ - setup(); /* setup Kaleidoscope */ \ - /* Turn off virtual_io's input. */ \ - Kaleidoscope.device().keyScanner().setEnableReadMatrix(false); \ - testing::InitGoogleTest(); \ - int result = RUN_ALL_TESTS(); \ - exit(result); \ +#define SETUP_GOOGLETEST() \ + void executeTestFunction() { \ + setup(); /* setup Kaleidoscope */ \ + /* Turn off virtual_io's input. */ \ + Kaleidoscope.device().keyScanner().setEnableReadMatrix(false); \ + testing::InitGoogleTest(); \ + int result = RUN_ALL_TESTS(); \ + exit(result); \ }