summaryrefslogtreecommitdiff
path: root/t/export.t
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2015-04-18 15:03:28 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2015-04-18 15:03:28 +0000
commit2fe5b8de1e9d06482aa76303e7342bc6605700ea (patch)
treecccc47c409970b2db7a8f64f6c25e993270ddf9b /t/export.t
downloadYAML-tarball-2fe5b8de1e9d06482aa76303e7342bc6605700ea.tar.gz
Diffstat (limited to 't/export.t')
-rw-r--r--t/export.t18
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';