Index: tests/object-system.test =================================================================== diff -u -N -rfbd7f24c6111a5328c15bb7c47e9a45c9928357f -rf80347fbea8fd50ae92c0bd7412cd4af80c78a54 --- tests/object-system.test (.../object-system.test) (revision fbd7f24c6111a5328c15bb7c47e9a45c9928357f) +++ tests/object-system.test (.../object-system.test) (revision f80347fbea8fd50ae92c0bd7412cd4af80c78a54) @@ -83,6 +83,9 @@ ? {o info class} ::nx::Object ? {nx::Object info instances o} ::o ? {nx::Object info instances ::o} ::o +o destroy +? {nsf::object::exists ::o} 0 +? {nsf::object::exists o} 0 nx::Object create o2 { ? {::nsf::object::exists ::o2} 1 @@ -145,6 +148,8 @@ # destroy class M, reclass class instances to the base class C destroy +? {::nsf::object::exists C} 0 +? {::nsf::object::exists ::C} 0 ? {::nsf::object::exists c1} 1 ? {::nsf::is object c1} 1 ? {::nsf::is class c1} 0