Bugfix: Fix setting the same mark repeatedly on different windows (+test)

Fixes: #582
This commit is contained in:
Michael Stapelberg
2011-12-17 14:19:44 +00:00
parent 49947317ba
commit b46ab649f5
3 changed files with 27 additions and 15 deletions

View File

@ -35,16 +35,4 @@ cmd 'kill';
cmp_deeply(get_marks(), [ ], 'mark gone');
##############################################################
# 4: check that duplicate marks are included twice in the get_marks reply
##############################################################
cmd 'open';
cmd 'mark bar';
cmd 'open';
cmd 'mark bar';
cmp_deeply(get_marks(), [ 'bar', 'bar' ], 'duplicate mark found twice');
done_testing;