Skip to content
Browse files

remove last remnants of .notdef

  • Loading branch information...
1 parent 07b93fe commit 68b538fc039900b110d30d657c546f6490877e30 @moritz moritz committed Feb 24, 2011
Showing with 5 additions and 5 deletions.
  1. +2 −2 S03-smartmatch/any-hash-pair.t
  2. +3 −3 S03-smartmatch/disorganized.t
View
4 S03-smartmatch/any-hash-pair.t
@@ -9,8 +9,8 @@ plan 7;
ok !(%a ~~ b => 'ugh'), '%hash ~~ Pair (Str, -)';
ok (%a ~~ a => 1.0), '%hash ~~ Pair (Num, +)';
ok (%a ~~ :b<foo>), '%hash ~~ Colonpair';
- ok (%a ~~ c => *.notdef), '%hash ~~ Pair (.notdef, Mu)';
- ok (%a ~~ d => *.notdef), '%hash ~~ Pair (.notdef, Nil)';
+ ok (%a ~~ c => !*.defined), '%hash ~~ Pair (!*.defined, Mu)';
+ ok (%a ~~ d => !*.defined), '%hash ~~ Pair (!*.defined, Nil)';
ok !(%a ~~ a => 'foo'), '%hash ~~ Pair (key and val not paired)';
}
View
6 S03-smartmatch/disorganized.t
@@ -13,9 +13,9 @@ sub eval_elsewhere($code){ eval($code) }
#L<S03/Smart matching/Any undef undefined not .defined>
#?rakudo skip 'syntactic smar-matching'
{
- ok(!("foo" ~~ .notdef), "foo is not ~~ .notdef");
- ok "foo" !~~ .notdef, 'foo !~~ .notdef';
- ok((Mu ~~ .notdef), "Mu is");
+ ok("foo" ~~ defined, "foo is ~~ .defined");
+ nok "foo" !~~ .defined, 'not foo !~~ .defined';
+ nok((Mu ~~ .defined), "Mu is not .defined");
}
# TODO:

0 comments on commit 68b538f

Please sign in to comment.
Something went wrong with that request. Please try again.