File tree 1 file changed +3
-1
lines changed 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ if {"::tcltest" ni [namespace children]} {
15
15
namespace import -force ::tcltest::*
16
16
}
17
17
::tcltest::loadTestedCommands
18
+ source [file join [file dirname [info script]] tcltests.tcl]
19
+
18
20
catch [list package require -exact tcl::test [info patchlevel]]
19
21
20
22
testConstraint bigEndian [expr {$tcl_platform(byteOrder) eq "bigEndian"}]
@@ -3040,7 +3042,7 @@ test binary-80.3 {Tcl_GetBytesFromObj} -constraints testbytestring -returnCodes
3040
3042
test binary-80.4 {Tcl_GetBytesFromObj} -constraints testbytestring -returnCodes 1 -body {
3041
3043
testbytestring [testbytestring "\xC0\x80\xA0\xA0\xA0\xF0\x9F\x98\x81"]
3042
3044
} -result "expected byte sequence but character 4 was '\U01F601' (U+01F601)"
3043
- test binary-80.5 {Tcl_GetBytesFromObj} -constraints testbytestring -constraints pointerIs64bit -body {
3045
+ test binary-80.5 {Tcl_GetBytesFromObj} -constraints testbytestring -constraints { pointerIs64bit deprecated} -body {
3044
3046
testbytestring [string repeat A [expr 2**31]]
3045
3047
} -returnCodes 1 -result "byte sequence length exceeds INT_MAX"
3046
3048
You can’t perform that action at this time.
0 commit comments