This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
cpan/Win32/t/GetOSVersion.t
@@ -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";