diff options
author | bep <bjorn.erik.pedersen@gmail.com> | 2014-12-07 19:48:00 +0100 |
---|---|---|
committer | spf13 <steve.francia@gmail.com> | 2014-12-09 09:43:15 -0500 |
commit | 9f77f93071d836a35b0078d1b349968abddb4a18 (patch) | |
tree | 909238a41b20b9e23324e4ffca01e8143655dd4a /source/filesystem_windows_test.go | |
parent | 3a8c12418a97230df714488e522f44ce8af685c5 (diff) |
Fix various Windows-issues
File handling was broken on Windows. This commit contains a revision of the path handling with separation of file paths and urls where needed.
There may be remaining issues and there may be better ways to do this, but it is easier to start that refactoring job with a set of passing tests.
Fixes #687
Fixes #660
Diffstat (limited to 'source/filesystem_windows_test.go')
-rw-r--r-- | source/filesystem_windows_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/filesystem_windows_test.go b/source/filesystem_windows_test.go index e9cbdd4a1..ee6185374 100644 --- a/source/filesystem_windows_test.go +++ b/source/filesystem_windows_test.go @@ -8,8 +8,8 @@ package source var platformBase = "C:\\foo\\" var platformPaths = []TestPath{ {"foobar", "foobar", "aaa", "", ""}, - {"b\\1file", "1file", "aaa", "b", "b/"}, - {"c\\d\\2file", "2file", "aaa", "c", "c/d/"}, - {"C:\\foo\\e\\f\\3file", "3file", "aaa", "e", "e/f/"}, // note volume case is equal to platformBase - {"section\\foo.rss", "foo.rss", "aaa", "section", "section/"}, + {"b\\1file", "1file", "aaa", "b", "b\\"}, + {"c\\d\\2file", "2file", "aaa", "c", "c\\d\\"}, + {"C:\\foo\\e\\f\\3file", "3file", "aaa", "e", "e\\f\\"}, // note volume case is equal to platformBase + {"section\\foo.rss", "foo.rss", "aaa", "section", "section\\"}, } |