summaryrefslogtreecommitdiffstats
path: root/tests/winClipboard.test
diff options
context:
space:
mode:
authorstanton <stanton>1999-05-22 01:59:21 (GMT)
committerstanton <stanton>1999-05-22 01:59:21 (GMT)
commita912f987cc4a42b842e46d5ba8953533bd39c115 (patch)
tree867c43add539ea76f0f66b51eb2834cb1d3def94 /tests/winClipboard.test
parent3860979cba1e47893604c9b1b7427c4bab8ae92b (diff)
downloadtk-a912f987cc4a42b842e46d5ba8953533bd39c115.zip
tk-a912f987cc4a42b842e46d5ba8953533bd39c115.tar.gz
tk-a912f987cc4a42b842e46d5ba8953533bd39c115.tar.bz2
Merged changes from scriptics-tclpro-1-3-b2 branch
Diffstat (limited to 'tests/winClipboard.test')
-rw-r--r--tests/winClipboard.test7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/winClipboard.test b/tests/winClipboard.test
index 446dbd1..492ced9 100644
--- a/tests/winClipboard.test
+++ b/tests/winClipboard.test
@@ -10,7 +10,7 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: winClipboard.test,v 1.4 1999/04/16 01:51:43 stanton Exp $
+# RCS: @(#) $Id: winClipboard.test,v 1.5 1999/05/22 01:59:22 stanton Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
source [file join [pwd] [file dirname [info script]] defs.tcl]
@@ -39,6 +39,11 @@ test winClipboard-1.4 {TkSelGetSelection & TkWinClipboardRender} {pcOnly} {
clipboard append "line 1\nline 2"
list [selection get -selection CLIPBOARD] [testclipboard]
} [list "line 1\nline 2" "line 1\r\nline 2"]
+test winClipboard-1.5 {TkSelGetSelection & TkWinClipboardRender} {pcOnly} {
+ clipboard clear
+ clipboard append "line 1\u00c7\nline 2"
+ list [selection get -selection CLIPBOARD] [testclipboard]
+} [list "line 1\u00c7\nline 2" [bytestring "line 1\u00c7\r\nline 2"]]
# cleanup
::tcltest::cleanupTests