Skip to content
This repository
tree: a67fa01f97
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 14 lines (9 sloc) 0.226 kb
1 2 3 4 5 6 7 8 9 10 11 12 13
use strict;
use warnings;
use Test::More import => ['!pass'];

use Dancer ':syntax';
use Dancer::Plugin;

eval {register dance => sub {1};};
ok $@;
like $@, qr/You can't use dance, this is a reserved keyword/;

done_testing;

Something went wrong with that request. Please try again.