I am trying to build Template Toolkit for Fedora Core 4.

Everything builds, but it fails one of the tests.  What is weird is that
it looks like it should not be failing.  Maybe I am just missing
something.  (Can't locate marbles.pm in @INC.)

Here is the output of gd.t:

[EMAIL PROTECTED] t]$ perl gd.t
1..11
ok 1 - running test_expect()
ok 2 - template processor is engaged
ok 3 - input read and split into 4 tests
ok 4 - template text 1 processed OK: [% FILTER replace('.');\n    #
\n  ...
ok 5 - template text 1 matched expected
ok 6 - template text 2 processed OK: [% FILTER replace('.');\n    #
\n  ...
MATCH FAILED
 input: [[% FILTER replace('.');\n    #\n    # This is test3 from
GD-1.xx/t/GD.t\n    #\n    USE im = GD.Image(100,50);\n    black =
im.colorAllocate(0, 0, 0);\n    white = im.colorAllocate(255, 255, 255);
\n    red   = im.colorAllocate(255, 0, 0);\n    blue  =
im.colorAllocate(0,0,255);\n    im.arc(50, 25, 98, 48, 0, 360, white);\n
im.fill(50, 21, red);\nEND; -%][% im.png | hex -%]\n]
expect:
[89504e470d0a1a0a0000000d4948445200000064000000320203000000d75b962d0000
\n000c504c5445000000ffffffff00000000ff011d334a000000bc49444154789cad94c1
\n0d83300c451309ba01cc93117a203d3002d3f4403680037fca8a448526f1b710ea3fe6
\nc9f9b163db984b6ae4e3ce4755e7d64f88f2cf82787c151c0105eaf0ab708276ca0886
\n83bc7280d5919033a80c39826c1502a4a4fa1a608d6414c8e6c865e9ba560298894d32
\n926c9291680338636580b742e4a7ed8f7b10b2dc2272a27baafff5e1f9dca90eafb5f2
\n3ffc4f791ff0dee1fda6f428ef6b3e0bcafcf09953e694cfb6b20f941da2ec1dbeaba2
\nb2fdf60111b64d2854ccf25e0000000049454e44ae426082]
output:
[89504e470d0a1a0a0000000d4948445200000064000000320203000000d75b962d0000
\n000c504c5445000000ffffffff00000000ff011d334a000000bc49444154388dad94c1
\n0d83300c451309ba01cc93117a203d3002d3f4403680037fca8a448526f1b710ea3fe6
\nc9f9b163db984b6ae4e3ce4755e7d64f88f2cf82787c151c0105eaf0ab708276ca0886
\n83bc7280d5919033a80c39826c1502a4a4fa1a608d6414c8e6c865e9ba560298894d32
\n926c9291680338636580b742e4a7ed8f7b10b2dc2272a27baafff5e1f9dca90eafb5f2
\n3ffc4f791ff0dee1fda6f428ef6b3e0bcafcf09953e694cfb6b20f941da2ec1dbeaba2
\nb2fdf60111b64d28a110a5c20000000049454e44ae426082]
FAILED 7:  - template text 2 did not match expected
not ok 7 - template text 2 did not match expected
ok 8 - template text 3 processed OK: [% FILTER replace('.');\n    #
\n  ...
ok 9 - template text 3 matched expected
ok 10 - template text 4 processed OK: [% FILTER replace('.');\n    #
\n  ...
ok 11 - template text 4 matched expected

Ideas?

-- 
Alan <[EMAIL PROTECTED]>


_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to