diff --git a/tests/Main.cpp b/tests/Main.cpp
index 3004309f785174f9960a1d6b0d83a71015f5b047..0b663589311f4836c3d09191e491e114a7e033b4 100644
--- a/tests/Main.cpp
+++ b/tests/Main.cpp
@@ -90,8 +90,8 @@ void CompareCurves(const curve1& c1, const curve2& c2,
     std::cout
         << errMsg
         << "CompareCurves, ERROR, time min and max of curves do not match ["
-        << T_min << "," << T_max << "] " << " and [" << c2.min() << ","
-        << c2.max() << "] " << std::endl;
+        << T_min << "," << T_max << "] "
+        << " and [" << c2.min() << "," << c2.max() << "] " << std::endl;
     error = true;
   } else {
     // derivative in T_min and T_max