Skip to content

Commit

Permalink
remove last remnants of .notdef
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Feb 24, 2011
1 parent 07b93fe commit 68b538f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions S03-smartmatch/any-hash-pair.t
Expand Up @@ -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)';
}

Expand Down
6 changes: 3 additions & 3 deletions S03-smartmatch/disorganized.t
Expand Up @@ -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:
Expand Down

0 comments on commit 68b538f

Please sign in to comment.