aboutsummaryrefslogtreecommitdiff
path: root/t/02-empty-source.t
diff options
context:
space:
mode:
Diffstat (limited to 't/02-empty-source.t')
-rw-r--r--t/02-empty-source.t28
1 files changed, 0 insertions, 28 deletions
diff --git a/t/02-empty-source.t b/t/02-empty-source.t
deleted file mode 100644
index 2737d2d..0000000
--- a/t/02-empty-source.t
+++ /dev/null
@@ -1,28 +0,0 @@
-#! /usr/bin/env perl6
-
-use v6.c;
-use lib 'lib';
-use Test;
-
-plan 3;
-
-use Hash::Merge::Augment;
-
-my Hash $hash = {
- a => "a",
- b => {
- c => "c"
- }
-};
-
-my Hash $empty = {};
-
-$empty.merge($hash);
-
-is-deeply $empty, $hash, "Merge into empty hash";
-
-my Hash $nil;
-
-
-throws-like $nil.merge($hash), Exception, "Merge into uninitialized hash";
-is-deeply $nil.merge($hash), $hash, "Returns supplied hash if it throws";