File: 03_retrieve.t

package info (click to toggle)
libdancer-plugin-flashmessage-perl 0.314-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 140 kB
  • sloc: perl: 129; makefile: 2
file content (9 lines) | stat: -rw-r--r-- 211 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
use Test::More tests => 4, import => ['!pass'];
use Dancer ':syntax';
use Dancer::Test;

use_ok 'Dancer::Plugin::FlashMessage';

is(flash(foo => 'bar'), 'bar');
is(flash('foo'), 'bar');
is(flash('foo'), undef);