Skip to content

Commit

Permalink
[Helper] PluginManager Fix test in debug (#4491)
Browse files Browse the repository at this point in the history
load plugin with name, not filename
  • Loading branch information
fredroy committed Feb 15, 2024
1 parent bacf20f commit 5a3f923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sofa/framework/Helper/test/system/PluginManager_test.cpp
Expand Up @@ -270,7 +270,7 @@ TEST_F(PluginManager_test, testPluginAAsDependencyOfPluginB)

ASSERT_EQ(pm.getPluginMap().size(), 0u);

pm.loadPluginByName(pluginBFileName);
pm.loadPluginByName(pluginBName);
const std::string pluginPath = pm.findPlugin(pluginBName);
const sofa::helper::system::Plugin& p = pm.getPluginMap()[pluginPath];

Expand Down

0 comments on commit 5a3f923

Please sign in to comment.