aboutsummaryrefslogtreecommitdiff
path: root/t/02-empty-source.rakutest
diff options
context:
space:
mode:
Diffstat (limited to 't/02-empty-source.rakutest')
-rw-r--r--t/02-empty-source.rakutest24
1 files changed, 24 insertions, 0 deletions
diff --git a/t/02-empty-source.rakutest b/t/02-empty-source.rakutest
new file mode 100644
index 0000000..2e6b609
--- /dev/null
+++ b/t/02-empty-source.rakutest
@@ -0,0 +1,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