/[webpac2]/trunk/t/1-validate-delimiters.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/1-validate-delimiters.t

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

revision 828 by dpavlin, Sun May 20 16:19:17 2007 UTC revision 829 by dpavlin, Sun May 20 16:19:19 2007 UTC
# Line 46  test_v({ Line 46  test_v({
46                  { 'a' => 'a : a : a', 'c' => [ 'a : b ; c', 'a : b ; c / d' ] },                  { 'a' => 'a : a : a', 'c' => [ 'a : b ; c', 'a : b ; c / d' ] },
47                  { 'a' => 'a : b / c' },                  { 'a' => 'a : b / c' },
48                  { 'a' => 'a : b / c' },                  { 'a' => 'a : b / c' },
49          ]          ],
50            '901' => [
51                    { 'a' => 'a : b / c', 'b' => 'foo' },
52                    { 'a' => 'a : b / c', 'b' => 'foo' },
53            ],
54  });  });
55    
56  diag dump($v->{_delimiters_templates});  diag dump($v->{_delimiters_templates});
# Line 57  is_deeply( $v->{_delimiters_templates}, Line 61  is_deeply( $v->{_delimiters_templates},
61                  "^a :  : ^c :  ; ^c :  ;  / " => 1,                  "^a :  : ^c :  ; ^c :  ;  / " => 1,
62                  "^a :  =  :  ; ^b ;  ;  ;  ;  :  .  . " => 1,                  "^a :  =  :  ; ^b ;  ;  ;  ;  :  .  . " => 1,
63          },          },
64            901 => { "^a :  / ^b" => 2 },
65  }, 'just subfields and delimiters');  }, 'just subfields and delimiters');
66    

Legend:
Removed from v.828  
changed lines
  Added in v.829

  ViewVC Help
Powered by ViewVC 1.1.26