Changeset 23050
- Timestamp:
- 11/21/08 18:44:30 (7 weeks ago)
- Files:
-
- 1 modified
-
t/spec/S05-grammar/namespace.t (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
t/spec/S05-grammar/namespace.t
r22455 r23050 2 2 use Test; 3 3 4 plan 6;4 plan 7; 5 5 6 6 # TODO: smart match against a grammar to get a Match object … … 41 41 is(B::A.WHAT, 'Failure', 'regex defined in separate namespace from grammar'); 42 42 43 44 =begin description 45 46 check that multi-jointed namespaces work with grammars 47 48 =end description 49 50 grammar Foo::Bar { 51 token foo { foo } 52 } 53 is("foo" ~~ Foo::Bar::foo, 'foo', 'regex in a namespace callable');
