From: Jesse Vincent Date: Wed, 5 May 2010 18:40:45 +0000 (-0400) Subject: Revert "Fix tests and add one more test for the deprecation warning added in last... X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=01a6539711670dc7a832dd98ee7731633cc75523;p=p5sagit%2Fp5-mst-13.2.git Revert "Fix tests and add one more test for the deprecation warning added in last change" This reverts commit c4deb7365787eb01845a9d0e371e343169530659. Zefram asked me to revert this as he's going to be doing something more pluggable --- diff --git a/t/lib/warnings/toke b/t/lib/warnings/toke index 81cf246..914c988 100644 --- a/t/lib/warnings/toke +++ b/t/lib/warnings/toke @@ -962,17 +962,16 @@ Use of := for an empty attribute list is deprecated at - line 41. Use of := for an empty attribute list is deprecated at - line 42. ######## # toke.c -use warnings 'deprecated'; +use warnings 'deprecation'; my $a = 0123.456; my $b = 0x123.456; my $c = 0b101.010; -my $d = 0123 . 456; -no warnings 'deprecated'; -my $e = 0765.432; +no warnings 'deprecation'; +my $d = 0765.432; EXPECT -Dot after octal literal is concatenation at - line 3. -Dot after hexadecimal literal is concatenation at - line 4. -Dot after binary literal is concatenation at - line 5. +Dot after octal literal is concatenation at - line 1. +Dot after hex literal is concatenation at - line 2. +Dot after binary literal is concatenation at - line 3. ######## # toke.c use warnings;