view t/02-rakudo/dd.t @ 0:c341f82e7ad7 default tip

Rakudo branch in cr.ie.u-ryukyu.ac.jp
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Thu, 26 Dec 2019 16:50:27 +0900
parents
children
line wrap: on
line source

use lib <t/packages/>;
use Test;
use Test::Helpers;

plan 2;

is-run 'dd Failure.new',
  :err(「Failure.new(exception => X::AdHoc.new(payload => "Failed"),」
    ~ " backtrace => Backtrace.new)\n"),
「Failures don't get marked as handled in &dd」;

is-run 'dd 42.any', :err("any(42)\n"), 'Junctions do not crash';