summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-05-25 10:26:59 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-05-25 10:26:59 (GMT)
commitf544dd76f2e5c1b1b878c3d683f16f8aab7b6f9e (patch)
tree5b34e0a916b5c68e2fe35f08a739faa2187586dc /tests
parentf35ca5603a4148fbdfd60f956ba427be2ea53861 (diff)
downloadtcl-f544dd76f2e5c1b1b878c3d683f16f8aab7b6f9e.zip
tcl-f544dd76f2e5c1b1b878c3d683f16f8aab7b6f9e.tar.gz
tcl-f544dd76f2e5c1b1b878c3d683f16f8aab7b6f9e.tar.bz2
Add testcases and fix implementation
Diffstat (limited to 'tests')
-rw-r--r--tests/string.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/string.test b/tests/string.test
index 172b22d..ad6b126 100644
--- a/tests/string.test
+++ b/tests/string.test
@@ -795,6 +795,12 @@ test string-6.130.1.$noComp {string is entier, false on bad octal} {
test string-6.131.$noComp {string is entier, false on bad hex} {
list [run {string is entier -fail var 0X12345611234123456123456562345612345612345612345612345612345612345612345612345612345345XYZ}] $var
} {0 88}
+test string-6.132.$noComp {string is integer, bug [76ad7aeba3]} {
+ run {string is integer 18446744073709551615}
+} 0
+test string-6.133.$noComp {string is integer, bug [76ad7aeba3]} {
+ run {string is integer -18446744073709551615}
+} 0
catch {rename largest_int {}}