From 287a34ae0dfc23e4158f67cb7783d239f202c368 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 6 Mar 2009 03:56:38 +0000 Subject: * {ext,lib,test}/**/*.rb: removed trailing spaces. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/scanf/test_scanf.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/scanf/test_scanf.rb') diff --git a/test/scanf/test_scanf.rb b/test/scanf/test_scanf.rb index 2e9e10ba5d..893b51e736 100644 --- a/test/scanf/test_scanf.rb +++ b/test/scanf/test_scanf.rb @@ -240,8 +240,8 @@ module ScanfTests [ "%*5f%*d %*d %s", "1.2e23 45 string", ["string"] ], [ "%f %*d %s", "12.e23 45 string", ["12.e23".to_f, "string"] ], [ "%5f %d %s", "1.2e23 string", ["1.2e2".to_f, 3, "string"] ], - [ "%s %f %s %d %x%c%c%c%c", - "float: 1.2e23 dec/hex: 135a23 abc", + [ "%s %f %s %d %x%c%c%c%c", + "float: 1.2e23 dec/hex: 135a23 abc", ["float:", "1.2e23".to_f, "dec/hex:", 135, "a23".hex, " ", "a", "b", "c" ] ], # Testing 's' @@ -305,7 +305,7 @@ class TestIOScanf extend ScanfTests tmpfilename = "#{Dir.tmpdir}/iotest.dat.#{$$}" - + i = 1 self.tests.each do |test| define_method("test_#{i}") do || -- cgit v1.2.3