Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(243)

Unified Diff: tools/testing/dart/test_suite.dart

Issue 307693004: Fix again long paths in windows - seems that we had an off by one error in this (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_suite.dart
diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart
index dc489f1ce30c20bc11b6703c563586b179f8a078..632cfece25a5b8729ed5edf431159c03a5c4fd36 100644
--- a/tools/testing/dart/test_suite.dart
+++ b/tools/testing/dart/test_suite.dart
@@ -2152,7 +2152,7 @@ class TestUtils {
path = path.replaceAll('/', '_');
final int WINDOWS_SHORTEN_PATH_LIMIT = 60;
if (Platform.operatingSystem == 'windows' &&
- path.length > WINDOWS_SHORTEN_PATH_LIMIT) {
+ path.length >= WINDOWS_SHORTEN_PATH_LIMIT) {
for (var key in PATH_REPLACEMENTS.keys) {
if (path.startsWith(key)) {
path = path.replaceFirst(key, PATH_REPLACEMENTS[key]);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698