This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Move Win32 from ext/ to cpan/
[perl5.git] / cpan / Win32 / t / GetOSVersion.t
diff --git a/cpan/Win32/t/GetOSVersion.t b/cpan/Win32/t/GetOSVersion.t
new file mode 100644 (file)
index 0000000..cb3f364
--- /dev/null
@@ -0,0 +1,11 @@
+use strict;
+use Test;
+use Win32;
+
+plan tests => 1;
+
+my $scalar = Win32::GetOSVersion();
+my @array  = Win32::GetOSVersion();
+
+print "not " unless $scalar == $array[4];
+print "ok 1\n";