Permalink
Browse files

fix a dice test

  • Loading branch information...
1 parent f2a59d2 commit 5ef2b84a7522f8de6111dfe5f3f484bd00dfed79 @crazedpsyc crazedpsyc committed Jun 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 t/Dice.t
View
@@ -18,7 +18,7 @@ ddg_goodie_test(
"roll 2d6" => test_zci(qr/^\d (\+|-) \d = \d+$/),
"roll 3d12 + 4" => test_zci(qr/^\d{1,2} (\+|-) \d{1,2} (\+|-) \d{1,2} (\+|-) \d{1,2} = \d{1,2}$/),
"throw 1d20" => test_zci(qr/\d{1,2}$/),
- "roll 3d8 - 8" => test_zci(qr/^\d (\+|-) \d (\+|-) \d (\+|-) \d = \d+$/),
+ "roll 3d8 - 8" => test_zci(qr/^\d (\+|-) \d (\+|-) \d (\+|-) \d = -?\d+$/),
"roll d20" => test_zci(qr/^\d{1,2}$/),
);

0 comments on commit 5ef2b84

Please sign in to comment.