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:
Marco Trevisan (Treviño) 2018-11-05 17:06:52 -06:00
parent b09a0df9a9
commit 94edafb5fa

View File

@ -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",