Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

remove last remnants of .notdef

  • Loading branch information...
commit 68b538fc039900b110d30d657c546f6490877e30 1 parent 07b93fe
Moritz Lenz moritz authored
4 S03-smartmatch/any-hash-pair.t
@@ -9,8 +9,8 @@ plan 7;
9 9 ok !(%a ~~ b => 'ugh'), '%hash ~~ Pair (Str, -)';
10 10 ok (%a ~~ a => 1.0), '%hash ~~ Pair (Num, +)';
11 11 ok (%a ~~ :b<foo>), '%hash ~~ Colonpair';
12   - ok (%a ~~ c => *.notdef), '%hash ~~ Pair (.notdef, Mu)';
13   - ok (%a ~~ d => *.notdef), '%hash ~~ Pair (.notdef, Nil)';
  12 + ok (%a ~~ c => !*.defined), '%hash ~~ Pair (!*.defined, Mu)';
  13 + ok (%a ~~ d => !*.defined), '%hash ~~ Pair (!*.defined, Nil)';
14 14 ok !(%a ~~ a => 'foo'), '%hash ~~ Pair (key and val not paired)';
15 15 }
16 16
6 S03-smartmatch/disorganized.t
@@ -13,9 +13,9 @@ sub eval_elsewhere($code){ eval($code) }
13 13 #L<S03/Smart matching/Any undef undefined not .defined>
14 14 #?rakudo skip 'syntactic smar-matching'
15 15 {
16   - ok(!("foo" ~~ .notdef), "foo is not ~~ .notdef");
17   - ok "foo" !~~ .notdef, 'foo !~~ .notdef';
18   - ok((Mu ~~ .notdef), "Mu is");
  16 + ok("foo" ~~ defined, "foo is ~~ .defined");
  17 + nok "foo" !~~ .defined, 'not foo !~~ .defined';
  18 + nok((Mu ~~ .defined), "Mu is not .defined");
19 19 }
20 20
21 21 # TODO:

0 comments on commit 68b538f

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