Skip to content

Commit

Permalink
Remove superfluous constraint 'x11' on tests having constraint 'haveD…
Browse files Browse the repository at this point in the history
…ISPLAY' since the latter already includes the former.
  • Loading branch information
fvogelnew1 committed Dec 10, 2023
1 parent 97c05ed commit 2886758
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/frame.test
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit 2886758

Please sign in to comment.