Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[svn:parrot] r36152 - trunk/languages/lua/t

0 views
Skip to first unread message

fpe...@cvs.perl.org

unread,
Jan 29, 2009, 1:07:00 PM1/29/09
to svn-comm...@perl.org
Author: fperrad
Date: Thu Jan 29 10:06:59 2009
New Revision: 36152

Modified:
trunk/languages/lua/t/mathx.t

Log:
[Lua] mathx
now, Inf & NaN work on win32

Modified: trunk/languages/lua/t/mathx.t
==============================================================================
--- trunk/languages/lua/t/mathx.t (original)
+++ trunk/languages/lua/t/mathx.t Thu Jan 29 10:06:59 2009
@@ -34,17 +34,13 @@
/^3\.14/
OUTPUT

-SKIP:
-{
- skip "skipped on win32" => 2 if ( $^O eq 'MSWin32' );
-
language_output_is( 'lua', << 'CODE', << 'OUTPUT', 'infinity' );
require 'mathx'
print(type(math.infinity))
print(math.infinity)
CODE
number
-inf
+Inf
OUTPUT

language_output_is( 'lua', << 'CODE', << 'OUTPUT', 'nan' );
@@ -53,9 +49,8 @@
print(math.nan)
CODE
number
-nan
+NaN
OUTPUT
-}

language_output_like( 'lua', << 'CODE', << 'OUTPUT', 'function acosh' );
require 'mathx'

0 new messages