diff --git a/tests/errors/main.cpp b/tests/errors/main.cpp index 26a656a04..617e71fdb 100644 --- a/tests/errors/main.cpp +++ b/tests/errors/main.cpp @@ -6,7 +6,7 @@ int main(int argc, char const *argv[]) { for (size_t i = 0; i < 25; i++) { - auto errorMessage = Lambda::Errors::formatMessage(i); + auto errorMessage = Lambda::OS_Error(i).toString(); if (!errorMessage.size()) throw std::runtime_error("empty error message"); for (auto c : errorMessage) {