]> git.vpit.fr Git - perl/modules/LaTeX-TikZ.git/blobdiff - t/10-set.t
Generate the chain links only at path time
[perl/modules/LaTeX-TikZ.git] / t / 10-set.t
index 1476558a54e56789ab3bd960cddcce7ed641376b..e385932d1a3ba6ae5d273b963bb2b504cec8b64f 100644 (file)
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 28 + 2 * 21;
+use Test::More tests => 29 + 2 * 21;
 
 use LaTeX::TikZ;
 
@@ -244,6 +244,12 @@ RES
 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';