diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-08-13 14:05:40 +0200 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2011-08-13 14:05:40 +0200 |
commit | c3e4944bf469511ce80e004c04f2c9b15ebaf43b (patch) | |
tree | e1db903d5a0c7a7d27eafe2dbd4517e1c269a0ae | |
parent | 135c0b08fa622fdfc35bb98fe891d70f59a7a3af (diff) | |
download | perl-c3e4944bf469511ce80e004c04f2c9b15ebaf43b.tar.gz |
Check more than just the first word of the "Inconsistent C3" error message.
-rw-r--r-- | t/mro/inconsistent_c3.t | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/t/mro/inconsistent_c3.t b/t/mro/inconsistent_c3.t index 68d37950d4..ae01e9fdf2 100644 --- a/t/mro/inconsistent_c3.t +++ b/t/mro/inconsistent_c3.t @@ -46,4 +46,5 @@ except TypeError: } eval { mro::get_linear_isa('Z', 'c3') }; -like($@, qr/^Inconsistent /, '... got the right error with an inconsistent hierarchy'); +like($@, qr/^Inconsistent hierarchy during C3 merge of class 'Z'/, + '... got the right error with an inconsistent hierarchy'); |