Skip to content

Commit 02f41d9

Browse files
committed
Date objects should smart-match correct
1 parent 1c8bdfe commit 02f41d9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

S32-temporal/Date.t

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use Test;
33

44
# L<S32::Temporal/C<Date>>
55

6-
plan 57;
6+
plan 58;
77

88
# construction
99
{
@@ -115,4 +115,6 @@ sub d($x) { Date.new($x); }
115115
is $c <=> $a, Order::Decrease, '<=> (+1)';
116116
}
117117

118+
ok d('2011-01-14') ~~ d('2011-01-14'), 'Can smartch Date objects';
119+
118120
done;

0 commit comments

Comments
 (0)