diff options
author | Jesse Luehrs <doy@tozt.net> | 2012-12-28 17:15:34 -0600 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2012-12-28 17:15:34 -0600 |
commit | a34c723255bcc33e331a093f2df4a557fb117760 (patch) | |
tree | e100ef72c54b269a3c7c4ef597f0a90e9fc2356f /t/lib | |
parent | a5e691813e5ffc37142186a352a48eaf9a5bb564 (diff) | |
download | p6-bread-board-a34c723255bcc33e331a093f2df4a557fb117760.tar.gz p6-bread-board-a34c723255bcc33e331a093f2df4a557fb117760.zip |
implement include
Diffstat (limited to 't/lib')
-rw-r--r-- | t/lib/bad.bb | 1 | ||||
-rw-r--r-- | t/lib/false.bb | 1 | ||||
-rw-r--r-- | t/lib/logger.bb | 11 |
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'), + } +); |