Cleaned up demos, various build fixes
[urisagit/Stem.git] / t / config / test_stem_bug.pl
CommitLineData
8029a6ab 1#!/usr/bin/env perl
2
3use strict ;
4use warnings ;
5use Test::More tests => 2;
6use Test::Exception;
7
8use_ok( 'Stem' );
9
10my @config = (
11 { class => 'Foobar', },
12 { class => 'Stem::Console', },
13) ;
14
15
16lives_ok( sub { Stem::Conf::configure( \@config ) }, 'load config from data structure' );
17
18package Foobar ;
19
20sub foobar_cmd { return "FOOBAR!!!\n" }
21
22