]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/strings/strings.cpp
Fix compilation under MinGW, also add missing SVN properties.
[wxWidgets.git] / tests / strings / strings.cpp
index 0bfa1be370d6b50538af52f40f9469af78475436..b613cb65b02507e49548790ef74ef7027cac5fd1 100644 (file)
@@ -758,7 +758,14 @@ void StringTestCase::FromDouble()
     } testData[] =
     {
         { 1.23,             "1.23" },
+        // NB: there are no standards about the minimum exponent width
+        //     and newer MSVC versions use 3 digits as minimum exponent
+        //     width while GNU libc uses 2 digits as minimum width...
+#ifdef __VISUALC__
+        { -3e-10,           "-3e-010" },
+#else
         { -3e-10,           "-3e-10" },
+#endif
         { -0.45678,         "-0.45678" },
     };