Permalink
Browse files

fix a return type bug

  • Loading branch information...
1 parent 4d00912 commit 9db836433b4e7d4f31b0b5fafe11768024f91ffb @moritz moritz committed Jul 31, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 S06-routine-modifiers/scoped-named-subs.t
@@ -46,10 +46,10 @@ eval_dies_ok
'Return of list with wrong type dies';
eval_lives_ok
- 'my List sub f () { return () }; f()',
- 'return of empty list should live';
-is eval('my List sub f () { return () }; (f(), "a")'), ['a'],
- 'return of empty list should be empty list';
+ 'my Parcel sub f () { return () }; f()',
+ 'return of empty Parcel should live';
+is eval('my Parcel sub f () { return () }; (f(), "a")'), ['a'],
+ 'return of empty Parcel should be empty Parcel';
eval_dies_ok
'my Num List sub f () { ("A") }; f()',

0 comments on commit 9db8364

Please sign in to comment.