Tcl Source Code

Check-in [c1cfcdbc3a]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Dup test name.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | core-8-branch
Files: files | file ages | folders
SHA3-256: c1cfcdbc3ae02c5167d42052765fdac21295adc2c0c78173950b242ab556158e
User & Date: dgp 2018-04-23 13:51:05.449
Context
2018-04-23
15:06
Some better surrogate handling in encodings. Not spotted before ... check-in: 0e622ccdb3 user: jan.nijtmans tags: core-8-branch
13:53
merge 8.7 check-in: 06bb3a2bf8 user: dgp tags: trunk
13:51
merge 8.7 check-in: 743fa61e1c user: dgp tags: bug-e87bcf819f
13:51
Dup test name. check-in: c1cfcdbc3a user: dgp tags: core-8-branch
12:58
Rework 'array for' to pass the arrayNameObj to the NRE routines rather than saving it in the ArraySe... check-in: 7085291404 user: bll tags: core-8-branch
Changes
Unified Diff Ignore Whitespace Patch
Changes to tests/string.test.
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
} -match glob -result {1 {*invalid octal number*}}
test string-5.19.$noComp {string index, bytearray object out of bounds} {
    run {string index [binary format I* {0x50515253 0x52}] -1}
} {}
test string-5.20.$noComp {string index, bytearray object out of bounds} {
    run {string index [binary format I* {0x50515253 0x52}] 20}
} {}
test string-5.21 {string index, surrogates, bug [11ae2be95dac9417]} fullutf {
    list [string index a\U100000b 1] [string index a\U100000b 2] [string index a\U100000b 3]
} [list \U100000 {} b]


proc largest_int {} {
    # This will give us what the largest valid int on this machine is,
    # so we can test for overflow properly below on >32 bit systems







|







483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
} -match glob -result {1 {*invalid octal number*}}
test string-5.19.$noComp {string index, bytearray object out of bounds} {
    run {string index [binary format I* {0x50515253 0x52}] -1}
} {}
test string-5.20.$noComp {string index, bytearray object out of bounds} {
    run {string index [binary format I* {0x50515253 0x52}] 20}
} {}
test string-5.21.$noComp {string index, surrogates, bug [11ae2be95dac9417]} fullutf {
    list [string index a\U100000b 1] [string index a\U100000b 2] [string index a\U100000b 3]
} [list \U100000 {} b]


proc largest_int {} {
    # This will give us what the largest valid int on this machine is,
    # so we can test for overflow properly below on >32 bit systems