X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Feml.t;h=8d131b1418eb7c510b55297ef2cbeed4632fd038;hb=352956bcf1933bdaeba631deb4ade7dc7fd754b1;hp=a2479f6f068187071d35cc441679eb012b06eb70;hpb=b77d02aabb32a5a45e69701d2dcdc06ec53ef386;p=public-inbox.git diff --git a/t/eml.t b/t/eml.t index a2479f6f..8d131b14 100644 --- a/t/eml.t +++ b/t/eml.t @@ -169,7 +169,7 @@ EOF is(scalar(@tmp), 1, 'got one part even w/o boundary'); is($tmp[0]->[0]->[0]->body, "hello world\n", 'body preserved'); is($tmp[0]->[0]->[1], 0, '$depth is zero'); - is($tmp[0]->[0]->[2], 0, '@idx is zero'); + is($tmp[0]->[0]->[2], 1, '@idx is one'); } # I guess the following only worked in PI::M because of a happy accident