Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

&foo now causes compile time error if undefined.

  • Loading branch information...
commit 6a4a65177d9d608815ebf37f16613fe6709fbf5d 1 parent f572ea5
@jnthn jnthn authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  S11-modules/importing.t
View
2  S11-modules/importing.t
@@ -33,7 +33,7 @@ plan 16;
}
#?pugs skip 'Undeclared variable'
-ok( ! &foo, 'Foo::foo is undefined in outer scope' );
+dies_ok( { eval '&foo' }, 'Foo::foo is undefined in outer scope' );
#?pugs todo
{
Please sign in to comment.
Something went wrong with that request. Please try again.