Skip to content

Commit

Permalink
Fix error in test
Browse files Browse the repository at this point in the history
Test in previous commit accidentally used wrong role names.
- Fix formatting to be of shorter line length.
- Fix test message, since we're no longer testing order
  • Loading branch information
zoffixznet committed Dec 15, 2016
1 parent a9fd375 commit e45c0ad
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions integration/error-reporting.t
Expand Up @@ -219,8 +219,10 @@ is_run Q[#`{{ my long
# RT 130211
throws-like 'role R-RT130211 { method overload-this(){...} };
role C-RT130211 { method overload-this(){...} };
class A does R does C {};', X::Comp::AdHoc, :message{ .contains('R-RT130211') and
.contains('C-RT130211') }, 'all roles with unimplemented method pointed out in reverse order';
class A does R-RT130211 does C-RT130211 {};',
X::Comp::AdHoc,
:message{ .contains('R-RT130211') and .contains('C-RT130211') },
'all roles with unimplemented method shown in error';


# RT #129800
Expand Down

0 comments on commit e45c0ad

Please sign in to comment.