Skip to content

Commit

Permalink
Use correct subclass in tests
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Gallagher <[email protected]>
  • Loading branch information
sgallagher committed Mar 27, 2019
1 parent 4b2dfed commit aeaec47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modulemd/v2/tests/test-modulemd-modulestream.c
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ module_stream_v1_test_dependencies (ModuleStreamFixture *fixture,
gconstpointer user_data)
{
g_auto (GStrv) list;
g_autoptr (ModulemdModuleStream) stream = NULL;
g_autoptr (ModulemdModuleStreamV1) stream = NULL;
stream = modulemd_module_stream_v1_new (NULL, NULL);
modulemd_module_stream_v1_add_buildtime_requirement (
stream, "testmodule", "stable");
Expand Down Expand Up @@ -352,7 +352,7 @@ module_stream_v2_test_dependencies (ModuleStreamFixture *fixture,
gconstpointer user_data)
{
g_auto (GStrv) list;
g_autoptr (ModulemdModuleStream) stream = NULL;
g_autoptr (ModulemdModuleStreamV2) stream = NULL;
g_autoptr (ModulemdDependencies) dep = NULL;
stream = modulemd_module_stream_v2_new (NULL, NULL);
dep = modulemd_dependencies_new ();
Expand Down

0 comments on commit aeaec47

Please sign in to comment.