aboutsummaryrefslogtreecommitdiff
path: root/t/02-empty-source.rakutest
blob: 2e6b60927705f24fcadeb796e289ed992c3d8f38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#! /usr/bin/env raku

use v6.d;

use Test;

use Hash::Merge::Augment;

plan 1;

my %hash =
    a => "a",
    b => {
        c => "c"
    },
;

my %empty;

%empty.merge(%hash);

is-deeply %empty, %hash, "Merge into empty hash";

# vim: ft=raku ts=4 sw=4 et