summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorRuben <ruben.nellen@gmail.com>2013-11-29 08:22:44 +0100
committerspf13 <steve.francia@gmail.com>2013-12-16 17:43:53 -0500
commit950d9f55a53705b332a919df1a2f45307019d2fd (patch)
tree48d3deba72336827a5ae527c03e9cafdf63b5c22 /source
parentde670ced86e6df76278a19f19068bbeb46cc5d2f (diff)
Testcases for multilevel structure were wrong
Diffstat (limited to 'source')
-rw-r--r--source/filesystem_unix_test.go4
-rw-r--r--source/filesystem_windows_test.go4
2 files changed, 4 insertions, 4 deletions
diff --git a/source/filesystem_unix_test.go b/source/filesystem_unix_test.go
index 60b7b0a25..9674f282d 100644
--- a/source/filesystem_unix_test.go
+++ b/source/filesystem_unix_test.go
@@ -9,7 +9,7 @@ var platformBase = "/base/"
var platformPaths = []TestPath{
{"foobar", "foobar", "aaa", "", ""},
{"b/1file", "1file", "aaa", "b", "b/"},
- {"c/d/2file", "2file", "aaa", "d", "c/d/"},
- {"/base/e/f/3file", "3file", "aaa", "f", "e/f/"},
+ {"c/d/2file", "2file", "aaa", "c", "c/d/"},
+ {"/base/e/f/3file", "3file", "aaa", "e", "e/f/"},
{"section/foo.rss", "foo.rss", "aaa", "section", "section/"},
}
diff --git a/source/filesystem_windows_test.go b/source/filesystem_windows_test.go
index b9ecd5354..e9cbdd4a1 100644
--- a/source/filesystem_windows_test.go
+++ b/source/filesystem_windows_test.go
@@ -9,7 +9,7 @@ var platformBase = "C:\\foo\\"
var platformPaths = []TestPath{
{"foobar", "foobar", "aaa", "", ""},
{"b\\1file", "1file", "aaa", "b", "b/"},
- {"c\\d\\2file", "2file", "aaa", "d", "c/d/"},
- {"C:\\foo\\e\\f\\3file", "3file", "aaa", "f", "e/f/"}, // note volume case is equal to platformBase
+ {"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/"},
}