Skip to content

Commit

Permalink
Update main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
maddsua committed Feb 10, 2024
1 parent 41885bf commit 459a208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/errors/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 459a208

Please sign in to comment.