Skip to content

Commit 729cae1

Browse files
committed
Mark Test::is_approx as removed in 2023.09
1 parent bf37e30 commit 729cae1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

doc/Type/Test.rakudoc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ isnt $a, Nil, 'Nil should not survive being put in a container';
192192

193193
multi sub is_approx(Mu $got, Mu $expected, $desc = '')
194194

195-
B<NOTE>: Deprecated as of version 6.d. Please use C<is-approx> instead.
195+
B<NOTE>: Removed with Rakudo release 2023.09. Please use C<is-approx> instead
196196

197197
Checks if result and the expected value are approximately equal to a certain
198198
degree of tolerance, fixed to 1e-5 or one-millionth of the expected value is its
@@ -202,9 +202,8 @@ value is less than that.
202202
use Test;
203203
is_approx(1e4, 1e4-1e-6, "Real close"); # OUTPUT: «ok 1 - Real close␤»
204204

205-
(This will print also a deprecation notice if you're using 6.d)
206-
207-
205+
(This will print also a deprecation notice when using a Rakudo release
206+
-before 2023.09)
208207

209208
=head2 sub is-approx
210209

0 commit comments

Comments
 (0)