summaryrefslogtreecommitdiff
path: root/test/git/test_tree.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/git/test_tree.py')
-rw-r--r--test/git/test_tree.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/git/test_tree.py b/test/git/test_tree.py
index 0bb9647f..54a3352b 100644
--- a/test/git/test_tree.py
+++ b/test/git/test_tree.py
@@ -54,7 +54,10 @@ class TestTree(TestCase):
assert os.path.isabs(item.abspath)
if '/' in item.path:
found_slash = True
- break
+ # END check for slash
+
+ # slashes in paths are supported as well
+ assert root[item.path] == item == root/item.path
# END for each item
assert found_slash