diff --git a/src/mlpack/tests/main_tests/preprocess_split_test.cpp b/src/mlpack/tests/main_tests/preprocess_split_test.cpp index 0aff7057ef..e8e918509d 100644 --- a/src/mlpack/tests/main_tests/preprocess_split_test.cpp +++ b/src/mlpack/tests/main_tests/preprocess_split_test.cpp @@ -124,8 +124,6 @@ BOOST_AUTO_TEST_CASE(PreprocessSplitTestRatioTest) SetInputParam("test_ratio", (double) -0.2); - mlpackMain(); - Log::Fatal.ignoreInput = true; BOOST_REQUIRE_THROW(mlpackMain(), std::runtime_error); Log::Fatal.ignoreInput = false;