bt_value_copy(): put output parameter as last parameter
[babeltrace.git] / tests / lib / test_bt_values.c
index 96d53d1e5ee059cbb4d853a3cbf6d0238eb1c072..9b9cd3a4a72649c471cad41b3042014144423545 100644 (file)
@@ -885,8 +885,7 @@ void test_copy(void)
                string_obj);
        BT_ASSERT(status == BT_VALUE_STATUS_OK);
 
-       status = bt_value_copy(&map_copy_obj,
-               map_obj);
+       status = bt_value_copy(map_obj, &map_copy_obj);
        ok(status == BT_VALUE_STATUS_OK && map_copy_obj,
                "bt_value_copy() succeeds");
 
This page took 0.022888 seconds and 4 git commands to generate.