diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-06 03:56:38 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-06 03:56:38 +0000 |
| commit | d17d1b111341f2c8979cf8fbd63ec7ec9db7c3ad (patch) | |
| tree | 5e35d5b41aae961b37cf6632f60c42f51c7aa775 /test/dl | |
| parent | 101e79d7b434c01c0e6f4bcc480003858ab8e1a4 (diff) | |
| download | ruby-d17d1b111341f2c8979cf8fbd63ec7ec9db7c3ad.tar.gz ruby-d17d1b111341f2c8979cf8fbd63ec7ec9db7c3ad.tar.xz ruby-d17d1b111341f2c8979cf8fbd63ec7ec9db7c3ad.zip | |
* {ext,lib,test}/**/*.rb: removed trailing spaces.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/dl')
| -rw-r--r-- | test/dl/test_base.rb | 2 | ||||
| -rw-r--r-- | test/dl/test_import.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/dl/test_base.rb b/test/dl/test_base.rb index e24ed7ba2..439739bcf 100644 --- a/test/dl/test_base.rb +++ b/test/dl/test_base.rb @@ -47,7 +47,7 @@ module DL @libc = dlopen(LIBC_SO) @libm = dlopen(LIBM_SO) end - + def assert_match(expected, actual, message="") assert(expected === actual, message) end diff --git a/test/dl/test_import.rb b/test/dl/test_import.rb index 8514f8298..c70cb9a6d 100644 --- a/test/dl/test_import.rb +++ b/test/dl/test_import.rb @@ -54,7 +54,7 @@ module DL def test_unsigned_result() d = (2 ** 31) + 1 - + r = LIBC.strtoul(d.to_s, 0, 0) assert_equal(d, r) end @@ -75,7 +75,7 @@ module DL def test_value() i = LIBC.value('int', 2) assert_equal(2, i.value) - + d = LIBC.value('double', 2.0) assert_equal(2.0, d.value) |
