We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1e2a85 commit b1b9728Copy full SHA for b1b9728
t/class/accessor.t
@@ -50,11 +50,11 @@ no warnings 'experimental::class';
50
51
# Write accessor wants exactly one argument
52
ok(!eval { $o->set_s() },
53
- 'Reader accessor fails with no argument');
+ 'Writer accessor fails with no argument');
54
like($@, qr/^Too few arguments for subroutine \'Testcase2::set_s\' \(got 1; expected 2\) at /,
55
'Failure from argument to accessor');
56
ok(!eval { $o->set_s(1, 2) },
57
- 'Reader accessor fails with 2 arguments');
+ 'Writer accessor fails with 2 arguments');
58
like($@, qr/^Too many arguments for subroutine \'Testcase2::set_s\' \(got 3; expected 2\) at /,
59
60
}
0 commit comments