Index: third_party/WebKit/Tools/Scripts/webkitpy/common/system/path_unittest.py |
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/path_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/path_unittest.py |
index c0b8287b25c48840f2c974a36e26c809b04f2a7d..465c196c8e1b62f32073af14bcf0e8e127daea59 100644 |
--- a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/path_unittest.py |
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/path_unittest.py |
@@ -34,7 +34,9 @@ from webkitpy.common.system.platforminfo import PlatformInfo |
from webkitpy.common.system.platforminfo_mock import MockPlatformInfo |
from webkitpy.common.system import path |
+ |
class AbspathTest(unittest.TestCase): |
+ |
def platforminfo(self): |
return SystemHost().platform |
@@ -42,11 +44,11 @@ class AbspathTest(unittest.TestCase): |
if sys.platform != 'cygwin': |
return |
self.assertEqual(path.abspath_to_uri(self.platforminfo(), '/cygdrive/c/foo/bar.html'), |
- 'file:///C:/foo/bar.html') |
+ 'file:///C:/foo/bar.html') |
def test_abspath_to_uri_unixy(self): |
self.assertEqual(path.abspath_to_uri(MockPlatformInfo(), "/foo/bar.html"), |
- 'file:///foo/bar.html') |
+ 'file:///foo/bar.html') |
def test_abspath_to_uri_win(self): |
if sys.platform != 'win32': |
@@ -63,7 +65,7 @@ class AbspathTest(unittest.TestCase): |
if sys.platform != 'cygwin': |
return |
self.assertEqual(path.abspath_to_uri(self.platforminfo(), '/cygdrive/c/foo/bar + baz%.html'), |
- 'file:///C:/foo/bar%20+%20baz%25.html') |
+ 'file:///C:/foo/bar%20+%20baz%25.html') |
def test_stop_cygpath_subprocess(self): |
if sys.platform != 'cygwin': |