summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <leonerd@leonerd.org.uk>2021-12-08 13:37:52 +0000
committerPaul Evans <leonerd@leonerd.org.uk>2021-12-08 14:31:17 +0000
commitc89cba650a81c8118313ab1b813547628863854d (patch)
tree2a4c6a0137327396a9d6900d2946e8c4f9361f0b
parentccc9113906f8af7412a41ebd411e46cc1cc8f60f (diff)
downloadperl-c89cba650a81c8118313ab1b813547628863854d.tar.gz
Remove unnecessary braces in t/op/array.t
-rw-r--r--t/op/array.t14
1 files changed, 6 insertions, 8 deletions
diff --git a/t/op/array.t b/t/op/array.t
index ec6b5125af..af68856655 100644
--- a/t/op/array.t
+++ b/t/op/array.t
@@ -440,14 +440,12 @@ $::ra = [ bless [], 'A' ];
pass 'no crash when freeing array that is being cleared';
# [perl #85670] Copying magic to elements
-{
- package glelp {
- use builtin 'weaken';
- weaken ($a = \@ISA);
- @ISA = qw(Foo);
- weaken ($a = \$ISA[0]);
- ::is @ISA, 1, 'backref magic is not copied to elements';
- }
+package glelp {
+ use builtin 'weaken';
+ weaken ($a = \@ISA);
+ @ISA = qw(Foo);
+ weaken ($a = \$ISA[0]);
+ ::is @ISA, 1, 'backref magic is not copied to elements';
}
package peen {
$#ISA = -1;