lordgamez commented on code in PR #1348: URL: https://github.com/apache/nifi-minifi-cpp/pull/1348#discussion_r894217392
########## libminifi/test/unit/EnvironmentUtilsTests.cpp: ########## @@ -117,6 +117,9 @@ TEST_CASE("multithreaded environment manipulation", "[getenv][setenv][unsetenv]" utils::Environment::unsetEnvironmentVariable(env_name.c_str()); break; } + default: { + throw std::runtime_error("Operation value must be modulo 3"); Review Comment: The idea was throwing an unhandled runtime_error which will terminate by default eventually. What would be the benefit of calling terminate explicitly? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org