Created
May 30, 2010 07:46
-
-
Save snarkyboojum/418867 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://perl6advent.wordpress.com/2009/12/12/day-12-modules-and-exporting/ | |
use v6; | |
use Test; | |
plan 2; | |
BEGIN { | |
@*INC.push: 't/spec/integration'; | |
} | |
use Fancy::Utilities; | |
is Fancy::Utilities::lolgreet('Tene'), 'O HAI TENE', 'Referencing subs by fullname works'; | |
is lolgreet('Jnthn'), 'O HAI JNTHN', 'Exporting symbols works'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment