Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@blender.org>2021-09-24 13:52:32 +0300
committerSybren A. Stüvel <sybren@blender.org>2021-09-24 13:53:14 +0300
commite8c6e32348fcd898b2b06e2af0c92c477739992d (patch)
tree4c2574c579b760305b0a0da4cf74e3bbe752ece5
parent59387aabe80547641729e79d8dc3639cd23f8c3a (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.
-rw-r--r--source/blender/blenkernel/intern/asset_catalog_test.cc2
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},