Skip to content

Commit 6f8b40e

Browse files
committed
resync tests after Std fix
1 parent ec5d480 commit 6f8b40e

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

t/02_interface.t

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,6 @@ class com::example::Second { ... };
205205

206206
role com::example::NestedIntTest {
207207

208-
# our Int $USELESS_CONSTANT = ...; # int
209208
method USELESS_CONSTANT (--> Int) is export { ... }
210209

211210
method array_returner (
@@ -218,12 +217,12 @@ role com::example::NestedIntTest {
218217

219218
multi method object_returner (
220219
--> Str # java.lang.String
221-
) { ... }
220+
) { ... } # throws java.lang.NumberFormatException, java.lang.Exception
222221

223222
multi method object_returner (
224223
Str $v1, # java.lang.String
225224
--> Str # java.lang.String
226-
) { ... }
225+
) { ... } # throws java.lang.NumberFormatException
227226

228227
method recurse_for_me (
229228
--> com::example::Second # com.example.Second

t/03_class.t

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ my @correct_perl_6 = split /\n/, <<'EO_Correct_Perl_6';
186186
use v6;
187187

188188

189-
class ClassTest {
189+
role ClassTest {
190190

191191
multi method new (
192192
--> ClassTest # ClassTest
@@ -246,9 +246,8 @@ eq_or_diff( \@perl_6, \@correct_perl_6, 'emission' )
246246
use v6;
247247

248248

249-
class dupMethodTest {
249+
role dupMethodTest {
250250

251-
# our Int $USELESS_CONSTANT = ...; # int
252251
method USELESS_CONSTANT (--> Int) is export { ... }
253252

254253
method new (

0 commit comments

Comments
 (0)