[svn:parrot] r44345 - trunk/t/library

mikehh at svn.parrot.org mikehh at svn.parrot.org
Tue Feb 23 01:49:14 UTC 2010


Author: mikehh
Date: Tue Feb 23 01:49:10 2010
New Revision: 44345
URL: https://trac.parrot.org/parrot/changeset/44345

Log:
fix codetest failures - trailing whitespace

Modified:
   trunk/t/library/getopt_obj.t
   trunk/t/library/p6object.t
   trunk/t/library/pg.t
   trunk/t/library/test_more.t

Modified: trunk/t/library/getopt_obj.t
==============================================================================
--- trunk/t/library/getopt_obj.t	Tue Feb 23 01:21:06 2010	(r44344)
+++ trunk/t/library/getopt_obj.t	Tue Feb 23 01:49:10 2010	(r44345)
@@ -1,5 +1,5 @@
 #!perl
-# Copyright (C) 2001-2008, Parrot Foundation.
+# Copyright (C) 2001-2010, Parrot Foundation.
 # $Id$
 
 use strict;
@@ -358,7 +358,7 @@
 .end
 CODE
 foo is 1
-bar is 
+bar is
 argv[0] is --bar
 OUT
 
@@ -406,7 +406,7 @@
 .end
 CODE
 foo is 1
-bar is 
+bar is
 argv[0] is foo
 argv[1] is --bar
 OUT
@@ -459,8 +459,8 @@
 
 .end
 CODE
-foo is 
-f is 
+foo is
+f is
 b is bar
 OUT
 
@@ -642,7 +642,7 @@
 foo is file
 bar is file.txt
 bax is file.t
-baz is 
+baz is
 I[0] is texta
 I[1] is textb
 define[foo] is bar

Modified: trunk/t/library/p6object.t
==============================================================================
--- trunk/t/library/p6object.t	Tue Feb 23 01:21:06 2010	(r44344)
+++ trunk/t/library/p6object.t	Tue Feb 23 01:49:10 2010	(r44345)
@@ -1,5 +1,5 @@
 #!./parrot
-# Copyright (C) 2001-2009, Parrot Foundation.
+# Copyright (C) 2001-2010, Parrot Foundation.
 # $Id$
 
 =head1 NAME
@@ -165,7 +165,7 @@
     jklobj = new ['Foo';'JKL']
     $S0 = jklobj.'bar'()
     is($S0, 'ABC::foo', 'JKL.bar via add_method')
-    
+
     .local pmc hll_tests
     hll_tests = get_root_global ['myhll'], 'hll_tests'
     hll_tests()
@@ -174,7 +174,7 @@
     $P0 = p6meta.'new_class'('OMG::Lol')
     omgproto = get_hll_global ['OMG'], 'Lol'
     omgprotoexport = get_hll_global ['OMG';'EXPORT';'ALL'], 'Lol'
-    is_same(omgproto,omgprotoexport,'protoobject added to ["EXPORT";"ALL"] subnamespace') 
+    is_same(omgproto,omgprotoexport,'protoobject added to ["EXPORT";"ALL"] subnamespace')
 
     .return ()
 .end
@@ -496,7 +496,7 @@
     p6obj_tests(wxyproto, 'WXY', 'isa'=>'WXY P6object', 'can'=>'foo', 'who'=>wxyns)
 
     ## build a Parrotclass
-    .local pmc vwx_nsarray, vwx_ns, vwx_parrotclass, vwx_proto 
+    .local pmc vwx_nsarray, vwx_ns, vwx_parrotclass, vwx_proto
     vwx_nsarray = new 'ResizablePMCArray'
     push vwx_nsarray, 'VWX'
     vwx_ns = get_hll_namespace vwx_nsarray
@@ -523,3 +523,9 @@
 =back
 
 =cut
+
+# Local Variables:
+#   mode: pir
+#   fill-column: 100
+# End:
+# vim: expandtab shiftwidth=4 ft=pir:

Modified: trunk/t/library/pg.t
==============================================================================
--- trunk/t/library/pg.t	Tue Feb 23 01:21:06 2010	(r44344)
+++ trunk/t/library/pg.t	Tue Feb 23 01:49:10 2010	(r44345)
@@ -1,5 +1,5 @@
 #!./parrot
-# Copyright (C) 2006-2008, Parrot Foundation.
+# Copyright (C) 2006-2010, Parrot Foundation.
 # $Id$
 
 =head1 NAME
@@ -226,7 +226,7 @@
     test.'ok'($I0, 'con is false after finish')
     test.'finish'()
     end
-no_pg:	
+no_pg:
     .local pmc ex
     .local string msg
     .get_results(ex)

Modified: trunk/t/library/test_more.t
==============================================================================
--- trunk/t/library/test_more.t	Tue Feb 23 01:21:06 2010	(r44344)
+++ trunk/t/library/test_more.t	Tue Feb 23 01:49:10 2010	(r44345)
@@ -1,5 +1,5 @@
 #!parrot
-# Copyright (C) 2005-2009, Parrot Foundation.
+# Copyright (C) 2005-2010, Parrot Foundation.
 # $Id$
 
 .sub _main :main
@@ -371,13 +371,13 @@
     test_diag( expected )
     is( left, right, 'comparing two pmcs' )
     test_test( 'failing test is() for pmcs with description' )
-    
+
     test_pass( 'comparing two nulls' )
     null left
     null right
     is( left, right, 'comparing two nulls' )
     test_test( 'passing test is() for nulls')
-    
+
     test_fail('comparing null with Int')
     null left
     right = box 1
@@ -385,7 +385,7 @@
     test_diag( 'Have: null' )
     test_diag( 'Want: 1' )
     test_test('failing test is() for null vs. pmc 1')
-    
+
     test_fail('comparing Int with null')
     left = box 10
     null right
@@ -401,7 +401,7 @@
     test_diag( 'Have: null' )
     test_diag( 'Want: 1.01' )
     test_test('failing test is() for null vs. pmc 1.01')
-    
+
     test_fail('comparing Float with null')
     left = box 2.787
     null right
@@ -417,7 +417,7 @@
     test_diag( 'Have: null' )
     test_diag( 'Want: September, when it comes' )
     test_test('failing test is() for null vs. String pmc')
-    
+
     test_fail('comparing String with null')
     left = box 'I cannot move a mountain now'
     null right
@@ -873,6 +873,7 @@
     test_diag( "Want: null" )
     test_test( 'failing test is_null for String pmc')
 .end
+
 # Local Variables:
 #   mode: pir
 #   fill-column: 100


More information about the parrot-commits mailing list