mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-30 05:43:28 +02:00
bookmarkfile: test that moving to the same name works
Verify that we can move a bookmark item to the same name, but actually this causes a crash right now.
This commit is contained in:
committed by
Philip Withnall
parent
4d2405dc7f
commit
a02e111c69
@@ -94,6 +94,13 @@ test_move_item (void)
|
||||
g_assert (res);
|
||||
g_assert_no_error (error);
|
||||
|
||||
res = g_bookmark_file_move_item (bookmark,
|
||||
"file:///tmp/schedule.ps",
|
||||
"file:///tmp/schedule.ps",
|
||||
&error);
|
||||
g_assert (res);
|
||||
g_assert_no_error (error);
|
||||
|
||||
res = g_bookmark_file_move_item (bookmark,
|
||||
"file:///no-such-file.xbel",
|
||||
"file:///tmp/schedule.ps",
|
||||
|
Reference in New Issue
Block a user