]> git.sur5r.net Git - i3/i3/commit
testcases: correctly enable lexical pragmata
authorMaik Fischer <maikf@qu.cx>
Mon, 21 Nov 2011 20:04:00 +0000 (21:04 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Mon, 21 Nov 2011 23:50:39 +0000 (23:50 +0000)
commit1b1d7941ecb81de969c82acd8c41ba63b7a58e70
treef33fb840fc87a88aa6d138bcced48ff2f572c464
parent0a65b770e8af3f8c021b384b439b4cf7d7668643
testcases: correctly enable lexical pragmata

eval 'package foo; use strict;' enables strict within eval, it does
not leak into the surrounding scope.
Also fix various warnings/compile errors found due to now enabled
strict and warnings.
19 files changed:
testcases/lib/i3test.pm
testcases/t/101-focus.t
testcases/t/102-dock.t
testcases/t/103-move.t
testcases/t/105-stacking.t
testcases/t/111-goto.t
testcases/t/113-urgent.t
testcases/t/117-workspace.t
testcases/t/128-open-order.t
testcases/t/130-close-empty-split.t
testcases/t/135-floating-focus.t
testcases/t/138-floating-attach.t
testcases/t/146-floating-reinsert.t
testcases/t/157-regress-fullscreen-level-up.t
testcases/t/164-kill-win-vs-client.t
testcases/t/165-for_window.t
testcases/t/166-assign.t
testcases/t/167-workspace_layout.t
testcases/t/172-start-on-named-ws.t