diff options
author | dgp <dgp@users.sourceforge.net> | 2018-03-10 14:55:14 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2018-03-10 14:55:14 (GMT) |
commit | 192bbaba615235644c3d8826e5e159558cb2f58f (patch) | |
tree | e90f5c4d7384ef00ac44dc09ffdb17f7efc00e0f /tests/assemble.test | |
parent | 42fcfbdbf9bd01feae137255bc76396511169c19 (diff) | |
parent | 1f2b8680109582e15668a6264c7c895091d84d8e (diff) | |
download | tcl-192bbaba615235644c3d8826e5e159558cb2f58f.zip tcl-192bbaba615235644c3d8826e5e159558cb2f58f.tar.gz tcl-192bbaba615235644c3d8826e5e159558cb2f58f.tar.bz2 |
[db36fa5122] Upgrade the index value parsing and encoding machinery. Refactor many systems to make consistent use of it. Repairs many indexing errors in corner cases.
Diffstat (limited to 'tests/assemble.test')
-rw-r--r-- | tests/assemble.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/assemble.test b/tests/assemble.test index 6e5308d..d7c47a9 100644 --- a/tests/assemble.test +++ b/tests/assemble.test @@ -1584,6 +1584,12 @@ test assemble-15.7 {listIndexImm} { } -result c } +test assemble-15.8 {listIndexImm} { + assemble {push {a b c}; listIndexImm end+2} +} {} +test assemble-15.9 {listIndexImm} { + assemble {push {a b c}; listIndexImm -1-1} +} {} # assemble-16 - invokeStk |