22_exception.t 292 B

12345678910111213141516
  1. #!/usr/bin/perl
  2. use strict;
  3. use warnings;
  4. use Slic3r::XS;
  5. use Test::More tests => 1;
  6. {
  7. eval {
  8. Slic3r::xspp_test_croak_hangs_on_strawberry();
  9. };
  10. is $@, "xspp_test_croak_hangs_on_strawberry: exception catched\n", 'croak from inside a C++ exception delivered';
  11. }
  12. __END__