From b0b93142cfdddda73cdc0bc750ef462ee4bf3949 Mon Sep 17 00:00:00 2001 From: Alfonso Gregory Date: Wed, 14 Jul 2021 17:59:04 -0400 Subject: [PATCH] Fix error --- src/CalculatorUnitTests/HistoryTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CalculatorUnitTests/HistoryTests.cpp b/src/CalculatorUnitTests/HistoryTests.cpp index df446457..d022d1e4 100644 --- a/src/CalculatorUnitTests/HistoryTests.cpp +++ b/src/CalculatorUnitTests/HistoryTests.cpp @@ -104,7 +104,7 @@ namespace CalculatorFunctionalTests m_standardViewModel->SendCommandToCalcManager(static_cast(Command::CommandADD)); m_standardViewModel->SendCommandToCalcManager(static_cast(Command::Command1)); m_standardViewModel->SendCommandToCalcManager(static_cast(Command::CommandEQU)); - for (size_t i = 1; i < m_historyViewModel->m_calculatorManager->MaxHistorySize()); i++) + for (size_t i = 1; i < m_historyViewModel->m_calculatorManager->MaxHistorySize(); i++) { m_standardViewModel->SendCommandToCalcManager(static_cast(Command::Command1)); m_standardViewModel->SendCommandToCalcManager(static_cast(Command::CommandADD));