diff options
Diffstat (limited to 't/export.t')
-rw-r--r-- | t/export.t | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/t/export.t b/t/export.t new file mode 100644 index 0000000..9e51d9d --- /dev/null +++ b/t/export.t @@ -0,0 +1,18 @@ +use strict; +use lib -e 't' ? 't' : 'test'; +use lib 'inc'; +use Test::YAML(); +BEGIN { + @Test::YAML::EXPORT = + grep { not /^(Dump|Load)(File)?$/ } @Test::YAML::EXPORT; +} +use TestYAML tests => 3; + +use YAML; + +ok defined(&Dump), + 'Dump() is exported'; +ok defined(&Load), + 'Load() is exported'; +ok not(defined &Store), + 'Store() is not exported'; |