9 <namespace> "test-namespace" set
11 : test-namespace ( -- )
12 <namespace> dup [ namespace = ] bind ;
15 <namespace> dup [ this = ] bind ;
17 [ t ] [ test-namespace ] unit-test
18 [ t ] [ test-this-1 ] unit-test
20 ! Object paths should not resolve further up in the namestack.
22 <namespace> "test-namespace" set
24 [ [ "test-namespace" "test-namespace" ] object-path ]
28 [ [ "alalal" "boobobo" "bah" ] object-path ]
32 [ this [ ] object-path = ]
38 [ "vocabularies" "test" "test-word" ] object-path
44 [ <namespace> [ f "some-global" set "some-global" get ] bind ]