From 10a43069bef7746c3970c6a00e8ef555c53b8c5c Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Wed, 26 Apr 2017 23:44:37 +0200
Subject: Fix up test
---
lib/Config/Parser/yaml.pm6 | 1 +
t/02-merge.t | 2 +-
t/files/merge.yaml | 2 ++
3 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/lib/Config/Parser/yaml.pm6 b/lib/Config/Parser/yaml.pm6
index c0c194e..366368f 100644
--- a/lib/Config/Parser/yaml.pm6
+++ b/lib/Config/Parser/yaml.pm6
@@ -9,6 +9,7 @@ class Config::Parser::yaml is Config::Parser
{
method read(Str $path --> Hash)
{
+ say $path;
load-yaml(slurp $path);
}
}
diff --git a/t/02-merge.t b/t/02-merge.t
index 8018e73..cf9aa6a 100644
--- a/t/02-merge.t
+++ b/t/02-merge.t
@@ -19,4 +19,4 @@ is-deeply $config.get(), {
c => "c",
d => "d"
}
-}
+}, "Ensure configurations are merged";
diff --git a/t/files/merge.yaml b/t/files/merge.yaml
index e69de29..64ce87b 100644
--- a/t/files/merge.yaml
+++ b/t/files/merge.yaml
@@ -0,0 +1,2 @@
+b:
+ d: "d"
--
cgit v1.1