cvsuser     04/08/20 10:09:53

  Modified:    .        MANIFEST
  Added:       t/op     literal.t
  Log:
  Add in a test for literals.
  
  Courtesy of Danny Werner <[EMAIL PROTECTED]>
  
  Revision  Changes    Path
  1.722     +1 -0      parrot/MANIFEST
  
  Index: MANIFEST
  ===================================================================
  RCS file: /cvs/public/parrot/MANIFEST,v
  retrieving revision 1.721
  retrieving revision 1.722
  diff -u -w -r1.721 -r1.722
  --- MANIFEST  17 Aug 2004 14:51:16 -0000      1.721
  +++ MANIFEST  20 Aug 2004 17:09:50 -0000      1.722
  @@ -2761,6 +2761,7 @@
   t/op/jit.t                                        []
   t/op/jitn.t                                       []
   t/op/lexicals.t                                   []
  +t/op/literal.t                                         []
   t/op/macro.t                                      []
   t/op/number.t                                     []
   t/op/random.t                                     []
  
  
  
  1.1                  parrot/t/op/literal.t
  
  Index: literal.t
  ===================================================================
  use Parrot::Test tests => 1;
  
  output_is(<<'CODE', <<'OUTPUT', "integer literals");
          print 0x2A
          print "\n"
          print 0X2A
          print "\n"
          print -0x2a
          print "\n"
          print 0b101010
          print "\n"
          print 0B101010
          print "\n"
          print -0B101010
          print "\n"
          end
  CODE
  42
  42
  -42
  42
  42
  -42
  OUTPUT
  
  
  

Reply via email to