From 5849c96fa6a058a8e3d79a17e0de845ab4d03fc8 Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Thu, 12 Nov 2020 20:36:08 +0100 Subject: Rewrite module --- t/01-thing.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 't/01-thing.t') diff --git a/t/01-thing.t b/t/01-thing.t index ef674ec..44d7495 100644 --- a/t/01-thing.t +++ b/t/01-thing.t @@ -46,9 +46,9 @@ is-deeply %a, {Z => 'new', a => 2, b => 1, y => {a => 1, z => 2}}; %z

= (1,2,3,4); %y

= (5,4,6,7); - %z.merge(%y, :no-append-array); + %z.merge(%y, :!positional-append); - is-deeply %z, ${:y(${:p($(5, 4, 6, 7))})}, "no-append-array (replaces the instead)"; + is-deeply %z, ${:y(${:p($(5, 4, 6, 7))})}, ":!positional-append makes lists overwrite"; } done-testing; -- cgit v1.1