aboutsummaryrefslogtreecommitdiff
path: root/t/read.t
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2017-04-26 23:16:48 +0200
committerPatrick Spek <p.spek@tyil.nl>2017-04-26 23:16:48 +0200
commit6aed1eca976c3eec6b971f18a74943c8e5274d2e (patch)
treed5858e98e23a796d1bf77fb43563bf0c92dc0b36 /t/read.t
parentc1dc65009e381ab09f15bb73529491d427d77232 (diff)
Update tests
Diffstat (limited to 't/read.t')
-rw-r--r--t/read.t18
1 files changed, 0 insertions, 18 deletions
diff --git a/t/read.t b/t/read.t
deleted file mode 100644
index 7a2c0f7..0000000
--- a/t/read.t
+++ /dev/null
@@ -1,18 +0,0 @@
-#! /usr/bin/env perl6
-
-use v6.c;
-use Test;
-use lib "lib";
-
-use Config;
-
-plan 5;
-
-my $config = Config.new();
-
-ok $config.read("t/test.yaml"), "Read a YAML file";
-
-ok $config.get("a") eq "a", "Get simple key";
-ok $config.get("b.c") eq "c", "Get nested key";
-ok $config.get("nonexistant") === Nil, "Get nonexistant key";
-ok $config.get("nonexistant", "test") === "test", "Get nonexistant key with default";