Skip Menu |

This queue is for tickets about the JE CPAN distribution.

Report information
The Basics
Id: 51036
Status: resolved
Priority: 0/
Queue: JE

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 0.040
  • 0.041
Fixed in: (no value)



Subject: t\11.04-unary.t Failed test '-undefined' Failed test '-"a"' Failed test '-{}'
JE-0.041$ prove -v t\11.04-unary.t t\11.04-unary.t .. 1..111 ok 1 - use JE; ok 2 - The object isa JE::Object::Function ok 3 - The object isa JE::Object::Function ok 4 - delete(a,b) ok 5 - delete(a=b) ok 6 - delete(a?b:c) ok 7 - delete(a||b) ok 8 - delete(a&&b) ok 9 - delete "a" ok 10 - delete a ok 11 - delete(a) ok 12 - delete a when a is undeletable ok 13 - delete a when a does not exist ok 14 - delete a.b ok 15 - delete []["\ud800"] ok 16 - void expr ok 17 - "void identifier" when var does not exist ok 18 - typeof undefined (lvalue) ok 19 - typeof null (lvalue) ok 20 - typeof boolean (lvalue) ok 21 - typeof number (lvalue) ok 22 - typeof string (lvalue) ok 23 - typeof object (lvalue) ok 24 - typeof function (lvalue) # Failed test '-undefined' # at C:/perl/site/5.10.1/lib/JE/Object/Function.pm line 460. # Failed test '-"a"' # at C:/perl/site/5.10.1/lib/JE/Object/Function.pm line 460. ok 25 - typeof nonexistent_var # Failed test '-{}' # at C:/perl/site/5.10.1/lib/JE/Object/Function.pm line 460. ok 26 - typeof nonexistent.prop ok 27 - typeof undefined ok 28 - typeof null ok 29 - typeof boolean ok 30 - typeof number ok 31 - typeof string ok 32 - typeof object ok 33 - typeof function ok 34 - ++undefined ok 35 - ++null ok 36 - ++true ok 37 - ++false ok 38 - ++"a" ok 39 - ++"3" ok 40 - ++4.2 ok 41 - ++{} ok 42 - --undefined ok 43 - --null ok 44 - --true ok 45 - --false ok 46 - --"a" ok 47 - --"3" ok 48 - --4.2 ok 49 - --{} ok 50 - +undefined ok 51 - +null ok 52 - +true ok 53 - +false ok 54 - +"a" ok 55 - +"3.00" ok 56 - +4.2 ok 57 - +{} not ok 58 - -undefined ok 59 - -null ok 60 - -true ok 61 - -false not ok 62 - -"a" ok 63 - -"-5" ok 64 - -4.2 not ok 65 - -{} ok 66 - - -5 ok 67 - ~undefined ok 68 - ~null ok 69 - ~true ok 70 - ~false ok 71 - ~'a' ok 72 - ~'3' ok 73 - ~{} ok 74 - ~NaN ok 75 - ~0 ok 76 - ~-0 ok 77 - ~Infinity ok 78 - ~-Infinity ok 79 - ~1 ok 80 - ~32.5 ok 81 - ~2147483648 ok 82 - ~3000000000 # Looks like you failed 3 tests of 111. ok 83 - ~4000000000.23 ok 84 - ~5000000000 ok 85 - ~4294967296 ok 86 - ~4294967298.479 ok 87 - ~6442450942 ok 88 - ~6442450943.674 ok 89 - ~6442450944 ok 90 - ~6442450945 ok 91 - ~6442450946.74 ok 92 - ~-1 ok 93 - ~-32.5 ok 94 - ~-3000000000 ok 95 - ~-4000000000.23 ok 96 - ~-5000000000 ok 97 - ~-4294967298.479 ok 98 - ~-6442450942 ok 99 - ~-6442450943.674 ok 100 - ~-6442450945 ok 101 - ~-6442450946.74 ok 102 - !undefined ok 103 - !null ok 104 - !true ok 105 - !false ok 106 - !'' ok 107 - !"false" ok 108 - !0 ok 109 - !1 ok 110 - !NaN ok 111 - !{} Dubious, test returned 3 (wstat 768, 0x300) Failed 3/111 subtests Test Summary Report ------------------- t\11.04-unary.t (Wstat: 768 Tests: 111 Failed: 3) Failed tests: 58, 62, 65 Non-zero exit status: 3 Files=1, Tests=111, 1 wallclock secs ( 0.08 usr + 0.03 sys = 0.11 CPU) Result: FAIL JE-0.041$ pmvers JE 0.041 JE-0.041$ perl -V Summary of my perl5 (revision 5 version 10 subversion 1) configuration: Commit id: 5348debf9fd57fc15c26529386769684fab96e57 Platform: osname=MSWin32, osvers=5.1, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags =' -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX', optimize='-s -O2', cppflags='-DWIN32' ccversion='', gccversion='3.4.5', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='long long', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='g++', ldflags ='-s -L"c:\perl\5.10.1\lib\MSWin32-x86-multi-thread\CORE" -L"C:\MinGW\lib"' libpth=C:\MinGW\lib libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 libc=, so=dll, useshrplib=true, libperl=libperl510.a gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-mdll -s -L"c:\perl\5.10.1\lib\MSWin32-x86-multi-thread\CORE" -L"C:\MinGW\lib"' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PL_OP_SLAB_ALLOC USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_SITECUSTOMIZE Built under MSWin32 Compiled at Oct 17 2009 15:38:58 @INC: C:/perl/5.10.1/lib/MSWin32-x86-multi-thread C:/perl/5.10.1/lib C:/perl/site/5.10.1/lib/MSWin32-x86-multi-thread C:/perl/site/5.10.1/lib .
On Mon Nov 02 02:34:42 2009, noreply wrote: Show quoted text
> > not ok 58 - -undefined
Fixed in 0.042, which will be released later today.