summaryrefslogtreecommitdiffstats
path: root/t/lib
diff options
context:
space:
mode:
Diffstat (limited to 't/lib')
-rw-r--r--t/lib/bad.bb1
-rw-r--r--t/lib/false.bb1
-rw-r--r--t/lib/logger.bb11
3 files changed, 13 insertions, 0 deletions
diff --git a/t/lib/bad.bb b/t/lib/bad.bb
new file mode 100644
index 0000000..77dde36
--- /dev/null
+++ b/t/lib/bad.bb
@@ -0,0 +1 @@
+function_doesnt_exist 'foo';
diff --git a/t/lib/false.bb b/t/lib/false.bb
new file mode 100644
index 0000000..0f57817
--- /dev/null
+++ b/t/lib/false.bb
@@ -0,0 +1 @@
+0;
diff --git a/t/lib/logger.bb b/t/lib/logger.bb
new file mode 100644
index 0000000..d14c256
--- /dev/null
+++ b/t/lib/logger.bb
@@ -0,0 +1,11 @@
+use v6;
+
+use Bread::Board;
+
+service 'logger', (
+ class => FileLogger,
+ lifecycle => Singleton,
+ dependencies => {
+ log_file => depends_on('log_file'),
+ }
+);