diff options
author | culler <culler> | 2019-04-25 18:16:49 (GMT) |
---|---|---|
committer | culler <culler> | 2019-04-25 18:16:49 (GMT) |
commit | 70af19ebc9a255f667aa2a143a8f57fe2576a2e4 (patch) | |
tree | 9c52be87d18cfa1926d224d4574804d39be8f0c0 /tests | |
parent | bf19ff82cc3fb7362d1b9f268e090b7668d65239 (diff) | |
download | tk-70af19ebc9a255f667aa2a143a8f57fe2576a2e4.zip tk-70af19ebc9a255f667aa2a143a8f57fe2576a2e4.tar.gz tk-70af19ebc9a255f667aa2a143a8f57fe2576a2e4.tar.bz2 |
Fix textWind.test: make sure that the test window is mapped before running tests (needed on macOS).
Diffstat (limited to 'tests')
-rw-r--r-- | tests/textWind.test | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/textWind.test b/tests/textWind.test index e189663..788c245 100644 --- a/tests/textWind.test +++ b/tests/textWind.test @@ -39,6 +39,11 @@ wm minsize . 1 1 wm positionfrom . user wm deiconify . +# This update is needed on MacOS to make sure that the window is mapped +# when the tests begin. + +update + set bw [.t cget -borderwidth] set px [.t cget -padx] set py [.t cget -pady] |