Fix failure in recently added asset library tests
Mistake in 1efc94bb2f
.
This commit is contained in:
parent
1cdc6381cf
commit
95077549c1
|
@ -118,7 +118,8 @@ TEST_F(AssetLibraryServiceTest, library_from_reference)
|
|||
"the current file library";
|
||||
|
||||
Main dummy_main{};
|
||||
BLI_strncpy(dummy_main.filepath, asset_library_root_.c_str(), sizeof(dummy_main.filepath));
|
||||
std::string dummy_filepath = asset_library_root_ + SEP + "dummy.blend";
|
||||
BLI_strncpy(dummy_main.filepath, dummy_filepath.c_str(), sizeof(dummy_main.filepath));
|
||||
EXPECT_EQ(lib, service->get_asset_library(&dummy_main, ref))
|
||||
<< "Getting the local (current file) reference with a main saved on disk should return "
|
||||
"the an asset library for this directory";
|
||||
|
|
Loading…
Reference in New Issue