aboutsummaryrefslogtreecommitdiff
path: root/t/02-empty-source.rakutest
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2020-11-15 08:47:32 +0100
committerPatrick Spek <p.spek@tyil.nl>2020-11-15 08:47:32 +0100
commitb27da2a93cc42afcf16ab539dc7aa1a84d12ee8c (patch)
tree53507a0a534140338bdc0520bc5b05b255bf38f8 /t/02-empty-source.rakutest
parent35e9b52620d540f79baac2c93caa19f4b8258679 (diff)
Rename Perl 6 to Raku
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