Skip to content

Commit

Permalink
load plugin with name, not filename
Browse files Browse the repository at this point in the history
  • Loading branch information
fredroy committed Feb 14, 2024
1 parent bacf20f commit cfb211d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sofa/framework/Helper/test/system/PluginManager_test.cpp
Original file line number Diff line number Diff line change
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 cfb211d

Please sign in to comment.