use strict;
use warnings;
-use Test::More tests => 28 + 2 * 21;
+use Test::More tests => 29 + 2 * 21;
use LaTeX::TikZ;
eval {
$join->add($bar);
};
+is $@, '',
+ 'adding too many sets to a chain set joined with an arrayref doesn\'t croak';
+
+eval {
+ using()->render($join);
+};
like $@, qr/^Invalid connector/,
'adding too many sets to a chain set joined with an arrayref croaks';