Skip to content

Commit 555e1f6

Browse files
committed
Revert "Spec WhateverCode.assuming"
This reverts commit 9136369. (meant to go in post-release branch)
1 parent 9136369 commit 555e1f6

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

S02-types/whatever.t

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use lib $?FILE.IO.parent(2).add("packages");
55
use Test;
66
use Test::Util;
77

8-
plan 129;
8+
plan 128;
99

1010
# L<S02/The Whatever Object/"The * character as a standalone term captures the notion of">
1111
# L<S02/Native types/"If any native type is explicitly initialized to">
@@ -499,13 +499,4 @@ subtest 'can curry chains with .& calls on them' => {
499499
'FOOonetwO', 'method, .&(2args), method, .& with whatever curry, .&sub';
500500
}
501501

502-
subtest 'can .assuming with WhateverCode' => {
503-
plan 4;
504-
is-deeply ((*.flip)).assuming(42)(), '24', '1-param, 1 assumed';
505-
is-deeply ((* + *)).assuming(42)(3), 45, '2-param, 1 assumed';
506-
is-deeply ((* + *)).assuming(42, 5)(), 47, '2-param, 2 assumed';
507-
is-deeply ((* + * + *.flip + *.abs)).assuming(42, 5)(123, -50), 418,
508-
'5-params with nested calls, 2 assumed';
509-
}
510-
511502
# vim: ft=perl6

0 commit comments

Comments
 (0)