#!perl # vim:ts=4:sw=4:expandtab # # Please read the following documents before working on tests: # • https://build.i3wm.org/docs/testsuite.html # (or docs/testsuite) # # • https://build.i3wm.org/docs/lib-i3test.html # (alternatively: perldoc ./testcases/lib/i3test.pm) # # • https://build.i3wm.org/docs/ipc.html # (or docs/ipc) # # • http://onyxneon.com/books/modern_perl/modern_perl_a4.pdf # (unless you are already familiar with Perl) # # Ticket: #2229 # Bug still in: 4.11-262-geb631ce use i3test i3_config => <get_workspaces->recv; my @ws_names = map { $_->{name} } @$get_ws; # TODO get rid of smartmatch ok(!('3' ~~ @ws_names), 'workspace 3 has been closed'); done_testing;