From 3e8f5151deeb2e690c0c680b33986b5dad333561 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Thu, 5 May 2022 21:33:25 -0400 Subject: [PATCH] spelling: daemon Signed-off-by: Josh Soref --- .../unittests/barrier/GenericArgsParsingTests.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/test/unittests/barrier/GenericArgsParsingTests.cpp b/src/test/unittests/barrier/GenericArgsParsingTests.cpp index 7f199180..701e59f8 100644 --- a/src/test/unittests/barrier/GenericArgsParsingTests.cpp +++ b/src/test/unittests/barrier/GenericArgsParsingTests.cpp @@ -95,33 +95,33 @@ TEST(GenericArgsParsingTests, parseGenericArgs_logFileCmdWithSpace_saveLogFilena EXPECT_EQ(2, i); } -TEST(GenericArgsParsingTests, parseGenericArgs_noDeamonCmd_daemonFalse) +TEST(GenericArgsParsingTests, parseGenericArgs_noDaemonCmd_daemonFalse) { int i = 1; const int argc = 2; - const char* kNoDeamonCmd[argc] = { "stub", "-f" }; + const char* kNoDaemonCmd[argc] = { "stub", "-f" }; ArgParser argParser(NULL); ArgsBase argsBase; argParser.setArgsBase(argsBase); - argParser.parseGenericArgs(argc, kNoDeamonCmd, i); + argParser.parseGenericArgs(argc, kNoDaemonCmd, i); EXPECT_FALSE(argsBase.m_daemon); EXPECT_EQ(1, i); } -TEST(GenericArgsParsingTests, parseGenericArgs_deamonCmd_daemonTrue) +TEST(GenericArgsParsingTests, parseGenericArgs_daemonCmd_daemonTrue) { int i = 1; const int argc = 2; - const char* kDeamonCmd[argc] = { "stub", "--daemon" }; + const char* kDaemonCmd[argc] = { "stub", "--daemon" }; ArgParser argParser(NULL); ArgsBase argsBase; argParser.setArgsBase(argsBase); - argParser.parseGenericArgs(argc, kDeamonCmd, i); + argParser.parseGenericArgs(argc, kDaemonCmd, i); EXPECT_EQ(true, argsBase.m_daemon); EXPECT_EQ(1, i);