22_exception.t 272 B

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