summaryrefslogtreecommitdiffstats
path: root/tests/text.test
diff options
context:
space:
mode:
authordas <das>2004-03-17 18:15:28 (GMT)
committerdas <das>2004-03-17 18:15:28 (GMT)
commit5d5e80daa3a2538f68710f54dce61a4203a539d8 (patch)
treea4d842ff3e2a8fc34e8fd25e2322f00537fdfae9 /tests/text.test
parentb378e89f0cb660a297740dc4787f7b0d2fd85008 (diff)
downloadtk-5d5e80daa3a2538f68710f54dce61a4203a539d8.zip
tk-5d5e80daa3a2538f68710f54dce61a4203a539d8.tar.gz
tk-5d5e80daa3a2538f68710f54dce61a4203a539d8.tar.bz2
Removed support for Mac OS Classic platform [Patch 918139]
Diffstat (limited to 'tests/text.test')
-rw-r--r--tests/text.test8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/text.test b/tests/text.test
index 1672138..2d0ee93 100644
--- a/tests/text.test
+++ b/tests/text.test
@@ -6,7 +6,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: text.test,v 1.28 2004/01/07 16:28:45 vincentdarley Exp $
+# RCS: @(#) $Id: text.test,v 1.29 2004/03/17 18:15:50 das Exp $
package require tcltest 2.1
eval tcltest::configure $argv
@@ -131,9 +131,7 @@ test text-2.4 {Tk_TextCmd procedure} {
list [catch {text .t2 -bd 2 -fg red} msg] $msg \
[lindex [.t2 config -bd] 4] [lindex [.t2 config -fg] 4]
} {0 .t2 2 red}
-if {$tcl_platform(platform) == "macintosh"} {
- set relief solid
-} elseif {$tcl_platform(platform) == "windows"} {
+if {$tcl_platform(platform) == "windows"} {
set relief flat
} else {
set relief raised
@@ -1262,7 +1260,7 @@ test text-19.1 {TkTextLostSelection procedure} {unixOnly} {
.t.e select to 1
.t2 tag ranges sel
} {}
-test text-19.2 {TkTextLostSelection procedure} {macOrPc} {
+test text-19.2 {TkTextLostSelection procedure} {pcOnly} {
catch {destroy .t2}
text .t2
.t2 insert 1.0 "abc\ndef\nghijk\n1234"