diff options
author | pooryorick <com.digitalsmarties@pooryorick.com> | 2018-01-27 18:17:09 (GMT) |
---|---|---|
committer | pooryorick <com.digitalsmarties@pooryorick.com> | 2018-01-27 18:17:09 (GMT) |
commit | fa7659336ca6c01fbed7cf8497b29e9191b0cb42 (patch) | |
tree | db44fd6a57ada6677bbe542902d70134e97e0647 /tests | |
parent | 175fe8c23f5d96a8cb4ecde93e7407e48c49da6d (diff) | |
download | tcl-fa7659336ca6c01fbed7cf8497b29e9191b0cb42.zip tcl-fa7659336ca6c01fbed7cf8497b29e9191b0cb42.tar.gz tcl-fa7659336ca6c01fbed7cf8497b29e9191b0cb42.tar.bz2 |
Remove restriction on defining the class of a TclOO object not explicitly
instantiated from ::oo::class.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/oo.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/oo.test b/tests/oo.test index 3be5f79..4f9490b 100644 --- a/tests/oo.test +++ b/tests/oo.test @@ -1707,13 +1707,13 @@ test oo-13.2 {OO: changing an object's class} -body { oo::objdefine foo class oo::class } -cleanup { foo destroy -} -returnCodes 1 -result {may not change a non-class object into a class object} +} -result {} test oo-13.3 {OO: changing an object's class} -body { oo::class create foo oo::objdefine foo class oo::object } -cleanup { foo destroy -} -returnCodes 1 -result {may not change a class object into a non-class object} +} -result {} test oo-13.4 {OO: changing an object's class} -body { oo::class create foo { method m {} { |