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
committed by Philip Withnall
parent 4d2405dc7f
commit a02e111c69

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