Message ID | 20230113215210.616812-9-brgl@bgdev.pl |
---|---|
State | New |
Headers | show |
Series | treewide: continue beating libgpiod v2 into shape for an upcoming release | expand |
diff --git a/tests/tests-line-config.c b/tests/tests-line-config.c index 5afdf7b..ef85c3a 100644 --- a/tests/tests-line-config.c +++ b/tests/tests-line-config.c @@ -175,9 +175,9 @@ GPIOD_TEST_CASE(reset_config) g_assert_nonnull(retrieved0); gpiod_test_return_if_failed(); - g_assert_cmpint(gpiod_line_settings_get_direction(settings), ==, + g_assert_cmpint(gpiod_line_settings_get_direction(retrieved0), ==, GPIOD_LINE_DIRECTION_INPUT); - g_assert_cmpint(gpiod_line_settings_get_bias(settings), ==, + g_assert_cmpint(gpiod_line_settings_get_bias(retrieved0), ==, GPIOD_LINE_BIAS_PULL_DOWN); gpiod_line_config_reset(config);