From ced403f7eed0a1aa47d5ad92faf45345654b010a Mon Sep 17 00:00:00 2001 From: rusefillc Date: Wed, 15 Dec 2021 08:56:59 -0500 Subject: [PATCH] Lua to read tsOutputs #3376 let's break master! --- unit_tests/tests/lua/test_lua_hooks.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/unit_tests/tests/lua/test_lua_hooks.cpp b/unit_tests/tests/lua/test_lua_hooks.cpp index 814f18210f..9ad9706ab1 100644 --- a/unit_tests/tests/lua/test_lua_hooks.cpp +++ b/unit_tests/tests/lua/test_lua_hooks.cpp @@ -24,14 +24,14 @@ TEST(LuaHooks, TestCrc8) { } TEST(LuaHooks, TestGetCalibration) { -// const char* sourceCode = R"( -// -// function testFunc() -// return getCalibration("cranking.rpm") -// end -// -// )"; -// EXPECT_EQ(testLuaReturnsNumber(sourceCode), 0x86); + const char* sourceCode = R"( + + function testFunc() + return getCalibration("cranking.rpm") + end + + )"; + EXPECT_EQ(testLuaReturnsNumber(sourceCode), 0x86); } TEST(LuaHooks, TestSetCalibration) {