void () { assertEquals(mySimpleTestPath, FileUtil.toCanonicalPath(mySimpleTestPath)); PlatformTestUtil.startPerformanceTest("toCanonicalPathSimple", 210, () -> { for (int i = 0; i < 1000000; ++i) { final String canonicalPath = FileUtil.toCanonicalPath(mySimpleTestPath, '/'); assert canonicalPath.length() == 8 : canonicalPath; } }).assertTiming(); }