/[webpac2]/trunk/t/3-normalize.t
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/t/3-normalize.t

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 602 by dpavlin, Tue Jul 4 11:08:43 2006 UTC revision 603 by dpavlin, Sun Jul 23 20:19:56 2006 UTC
# Line 2  Line 2 
2    
3  use strict;  use strict;
4    
5  use Test::More tests => 147;  use Test::More tests => 150;
6  use Test::Exception;  use Test::Exception;
7  use Cwd qw/abs_path/;  use Cwd qw/abs_path/;
8  use blib;  use blib;
# Line 479  sub test_s { Line 479  sub test_s {
479                  ],                  ],
480          );          );
481    
482            test_rec_rules(
483                    'marc_compose with + subfields',
484                    { '200' => [{ a => 'foo ; bar', b => 42, c => 'baz' }] },
485                    qq{
486                            marc_compose('900',
487                                    'a', rec(200,'a'),
488                                    '+', prefix(" * ", rec(200,'c')),
489                                    'b', rec(200,'b'),
490                                    '+', prefix(" : ", rec(200,'c')),
491                            );
492                    },
493                    [
494                            [ '900', ' ', ' ', 'a', 'foo ; bar * baz', 'b', '42 : baz' ]
495                    ],
496            );
497    
498          #          #
499          # test rules          # test rules
500          #          #

Legend:
Removed from v.602  
changed lines
  Added in v.603

  ViewVC Help
Powered by ViewVC 1.1.26