projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ba7f87
)
Re: [ID 20020220.001] pack w with objects
author
Ulrich Pfeifer
<pfeifer@wait.de>
Wed, 20 Feb 2002 11:21:15 +0000
(12:21 +0100)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Wed, 20 Feb 2002 15:08:06 +0000
(15:08 +0000)
Message-ID: <p5g03wcv38.fsf@de.uu.net>
p4raw-id: //depot/perl@14790
t/op/pack.t
patch
|
blob
|
history
diff --git
a/t/op/pack.t
b/t/op/pack.t
index
d1a8032
..
6bbd737
100755
(executable)
--- a/
t/op/pack.t
+++ b/
t/op/pack.t
@@
-6,7
+6,7
@@
BEGIN {
require './test.pl';
}
-plan tests => 147
6
;
+plan tests => 147
7
;
use strict;
use warnings;
@@
-116,6
+116,12
@@
sub list_eq ($$) {
is(scalar(@y), 2);
is($y[1], 130);
+ $x = pack('w*', 5000000000); $y = '';
+ eval {
+ use Math::BigInt;
+ $y = pack('w*', Math::BigInt::->new(5000000000));
+ };
+ is($x, $y);
}