about summary refs log tree commit homepage
path: root/t/eml.t
diff options
context:
space:
mode:
Diffstat (limited to 't/eml.t')
-rw-r--r--t/eml.t2
1 files changed, 1 insertions, 1 deletions
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