summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2019-11-14 17:41:51 (GMT)
committersebres <sebres@users.sourceforge.net>2019-11-14 17:41:51 (GMT)
commit05b4cb2080209949f44fdf00e08a044584bffe73 (patch)
tree5c2e7dd4237e5730ac19e0913a0658094a3176f3
parentb098fb32795b2f8e09c277d0d306986a6f5a9c7e (diff)
downloadtcl-05b4cb2080209949f44fdf00e08a044584bffe73.zip
tcl-05b4cb2080209949f44fdf00e08a044584bffe73.tar.gz
tcl-05b4cb2080209949f44fdf00e08a044584bffe73.tar.bz2
make oo-7.10 test more readable
-rw-r--r--tests/oo.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/oo.test b/tests/oo.test
index 55018e9..77fca68 100644
--- a/tests/oo.test
+++ b/tests/oo.test
@@ -1368,11 +1368,11 @@ test oo-7.10 {OO: next after object deletion, bug [135804138e]} -setup {
lappend ::result /c2::destructor
}
method m1 {} {
- lappend ::result delete
+ lappend ::result c2::m1
rename [self] {}
lappend ::result no-self
next
- lappend ::result unreachable
+ lappend ::result /c2::m1
}
}
} -body {
@@ -1381,7 +1381,7 @@ test oo-7.10 {OO: next after object deletion, bug [135804138e]} -setup {
} -cleanup {
c1 destroy
unset ::result
-} -result {delete c2::destructor delete no-self c1::m1 unreachable /c2::destructor no-self 1 {no next method implementation}}
+} -result {c2::m1 c2::destructor c2::m1 no-self c1::m1 /c2::m1 /c2::destructor no-self 1 {no next method implementation}}
test oo-8.1 {OO: global must work in methods} {
oo::object create foo