From 28867581981efebb916036af2c1b6ff63ddee932 Mon Sep 17 00:00:00 2001 From: fvogel Date: Sun, 10 Dec 2023 11:39:43 +0000 Subject: [PATCH] Remove superfluous constraint 'x11' on tests having constraint 'haveDISPLAY' since the latter already includes the former. --- tests/frame.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/frame.test b/tests/frame.test index d7245f763..a7f1b0b97 100644 --- a/tests/frame.test +++ b/tests/frame.test @@ -435,7 +435,7 @@ set expectedScreen "" if {[tcltest::testConstraint haveDISPLAY]} { set expectedScreen [list -screen screen Screen {} $env(DISPLAY)] } -test frame-2.15 {toplevel configuration options} -constraints {x11 haveDISPLAY} -setup { +test frame-2.15 {toplevel configuration options} -constraints haveDISPLAY -setup { deleteWindows } -body { toplevel .t -width 200 -height 100 -screen $env(DISPLAY) @@ -444,7 +444,7 @@ test frame-2.15 {toplevel configuration options} -constraints {x11 haveDISPLAY} } -cleanup { deleteWindows } -result $expectedScreen -test frame-2.16 {toplevel configuration options} -constraints {x11 haveDISPLAY} -setup { +test frame-2.16 {toplevel configuration options} -constraints haveDISPLAY -setup { deleteWindows } -body { toplevel .t -width 200 -height 100 -screen $env(DISPLAY)