Permalink
Browse files

typo in test (how I didn't notice it?)

  • Loading branch information...
NotFound committed Nov 24, 2011
1 parent cfc0ece commit 91e46947b756bb140d865d56db8986abce876a68
Showing with 1 addition and 1 deletion.
  1. +1 −1 t/advanced/02postincdec.t
@@ -14,7 +14,7 @@ function main()
is(d, 0, 'post ++ gives previous value - var');
is(v, 1, 'post ++ increments - var');
d = v--;
- is(d, 2, 'post -- gives previous value - var');
+ is(d, 1, 'post -- gives previous value - var');
is(v, 0, 'post -- increments - var');
}

0 comments on commit 91e4694

Please sign in to comment.