summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/lib/class-struct.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/lib/class-struct.t b/t/lib/class-struct.t
index 22801d5700..26505bacfc 100644
--- a/t/lib/class-struct.t
+++ b/t/lib/class-struct.t
@@ -15,7 +15,8 @@ sub meth { 42 }
package MyObj;
-use Class::Struct 'struct';
+use Class::Struct;
+use Class::Struct 'struct'; # test out both forms
use Class::Struct SomeClass => { SomeElem => '$' };