mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-11 18:00:18 +01:00
test: fix the tablet tool_ref test
This was working on an assumption that there is only one ref of the tablet tool and if we call unref it will be removed. This assumption is not something we can guarantee in the public API so we shouldn't test for it. Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1161>
This commit is contained in:
parent
3f232131a1
commit
4d1b836e22
1 changed files with 0 additions and 2 deletions
|
|
@ -2501,8 +2501,6 @@ START_TEST(tool_ref)
|
|||
litest_assert(tool == libinput_tablet_tool_ref(tool));
|
||||
litest_assert(tool == libinput_tablet_tool_unref(tool));
|
||||
libinput_event_destroy(event);
|
||||
|
||||
litest_assert(libinput_tablet_tool_unref(tool) == NULL);
|
||||
}
|
||||
END_TEST
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue