Changeset 7190 for t/var/refs_point_to_containers.t
- Timestamp:
- 09/28/05 23:08:26 (3 years ago)
- Files:
-
- 1 modified
-
t/var/refs_point_to_containers.t (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
t/var/refs_point_to_containers.t
r6573 r7190 14 14 15 15 $num = 4; 16 is $$ref, 4, "refs to scalars point to containers, not cells or even values (1)" ;16 is $$ref, 4, "refs to scalars point to containers, not cells or even values (1)", :todo<bug>; 17 17 18 18 $num := 5; 19 is $$ref, 5, "refs to scalars point to containers, not cells or even values (2)" ;19 is $$ref, 5, "refs to scalars point to containers, not cells or even values (2)", :todo<bug>; 20 20 } 21 21 … … 26 26 27 27 @array[1] = 3; 28 is $$ref, 3, "refs to arrays point to containers, not cells or even values (1)" ;28 is $$ref, 3, "refs to arrays point to containers, not cells or even values (1)", :todo<bug>; 29 29 30 30 try { @array[1] := 4 }; 31 is $$ref, 4, "refs to arrays point to containers, not cells or even values (2)" ;31 is $$ref, 4, "refs to arrays point to containers, not cells or even values (2)", :todo<bug>; 32 32 } 33 33 … … 42 42 43 43 try { @array[1] := 4 }; 44 is $arrayref[1], 4, "automatically reffed arrays point to containers (2)" ;44 is $arrayref[1], 4, "automatically reffed arrays point to containers (2)", :todo<bug>; 45 45 }; 46 46 … … 52 52 my $arrayref = [1,2,3]; 53 53 my $test = sub (@array) { 54 is @array[1], 2, "automatically dereffed arrays" ;54 is @array[1], 2, "automatically dereffed arrays", :todo<bug>; 55 55 56 56 $arrayref[1] = 3; 57 is @array[1], 3, "automatically dereffed arrays point to containers (1)" ;57 is @array[1], 3, "automatically dereffed arrays point to containers (1)", :todo<bug>; 58 58 59 59 try { $arrayref[1] := 4 }; 60 is @array[1], 4, "automatically dereffed arrays point to containers (2)" ;60 is @array[1], 4, "automatically dereffed arrays point to containers (2)", :todo<bug>; 61 61 }; 62 62
