diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2021-09-24 13:52:32 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2021-09-24 13:53:14 +0300 |
commit | e8c6e32348fcd898b2b06e2af0c92c477739992d (patch) | |
tree | 4c2574c579b760305b0a0da4cf74e3bbe752ece5 /source | |
parent | 59387aabe80547641729e79d8dc3639cd23f8c3a (diff) |
Asset Catalogs: fix trailing slash test case
The "path with trailing slash" test catalog was using the same path as
another catalog, which meant it was ignored after doing the path
cleanup. It's now different in the test file in SVN, so it'll actually
show up in the test.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/asset_catalog_test.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/asset_catalog_test.cc b/source/blender/blenkernel/intern/asset_catalog_test.cc index 9110b2cb0ba..074ffdbcaac 100644 --- a/source/blender/blenkernel/intern/asset_catalog_test.cc +++ b/source/blender/blenkernel/intern/asset_catalog_test.cc @@ -167,6 +167,7 @@ TEST_F(AssetCatalogTest, load_single_file_into_tree) {"character", 0}, {"character/Ellie", 1}, {"character/Ellie/poselib", 2}, + {"character/Ellie/poselib/tailslash", 3}, {"character/Ellie/poselib/white space", 3}, {"character/Ružena", 1}, {"character/Ružena/poselib", 2}, @@ -338,6 +339,7 @@ TEST_F(AssetCatalogTest, delete_catalog_leaf) {"character", 0}, {"character/Ellie", 1}, {"character/Ellie/poselib", 2}, + {"character/Ellie/poselib/tailslash", 3}, {"character/Ellie/poselib/white space", 3}, {"character/Ružena", 1}, {"character/Ružena/poselib", 2}, |