Index: tests/varresolutiontest.xotcl =================================================================== diff -u -r5ab730ebd0e769e5f376cc2db8aa22b024a9c498 -r56d2895a474286f0c023323d69e48b12b4f25cb4 --- tests/varresolutiontest.xotcl (.../varresolutiontest.xotcl) (revision 5ab730ebd0e769e5f376cc2db8aa22b024a9c498) +++ tests/varresolutiontest.xotcl (.../varresolutiontest.xotcl) (revision 56d2895a474286f0c023323d69e48b12b4f25cb4) @@ -131,4 +131,24 @@ ? {o unset oo::x} "" 1 ? {o::oo exists x} 0 +o destroy + +########################################### +# tests on namespace-qualified on objects +# without namespaces +########################################### + +# the tests below fail. We could consider +# to require namespaces on the fly in the future +Object o +#? {::o set ::o::x 1} 1 +#? {o exists x} [::o set ::o::x] +#? {namespace eval ::o unset x} "" 1 +#? {o exists x} 0 + +#? {::o set o::x 1} 1 +#? {o exists x} [::o set o::x] +#? {namespace eval ::o unset x} "" 1 +#? {o exists x} 0 + o destroy \ No newline at end of file