Skip to content

Commit

Permalink
[v6.d REVIEW] Precisify Nil.ords test
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Oct 29, 2018
1 parent 9062bb3 commit 9f35dc7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion S02-types/nil.t
@@ -1,5 +1,7 @@
use v6;
use lib $?FILE.IO.parent(2).add: 'packages';
use Test;
use Test::Util;

# Nil may be a type now. Required?

Expand Down Expand Up @@ -147,7 +149,7 @@ ok !Nil.new.defined, 'Nil.new is not defined';

{
CONTROL { when CX::Warn { pass 'Nil.ords warns'; .resume; } }
is-deeply Nil.ords, ().Seq, 'Nil.ords gives an empty Seq';
is-eqv Nil.ords, ().Seq, 'Nil.ords gives an empty Seq';
}

{
Expand Down

0 comments on commit 9f35dc7

Please sign in to comment.