diff options
| author | ksss <[email protected]> | 2014-11-16 14:55:45 +0900 |
|---|---|---|
| committer | ksss <[email protected]> | 2014-11-16 14:55:45 +0900 |
| commit | a44ada616ee32b993f40e50b7e5d45f54ce846d2 (patch) | |
| tree | 83675b1b55bd3f210609f50b5eb7facd37c69727 /test/file.rb | |
| parent | 379c5a6d880c7d3a3ea7816c7e9da28834edb046 (diff) | |
| download | mruby-a44ada616ee32b993f40e50b7e5d45f54ce846d2.tar.gz mruby-a44ada616ee32b993f40e50b7e5d45f54ce846d2.zip | |
Implement FileTest.size
- File.size delegate to FileTest.size
- File.size more faster by reading i-node value
Diffstat (limited to 'test/file.rb')
| -rw-r--r-- | test/file.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/test/file.rb b/test/file.rb index c8df85e89..d6f39ceb1 100644 --- a/test/file.rb +++ b/test/file.rb @@ -64,12 +64,6 @@ assert('IO#flock') do true end - -assert('File.size') do - File.size($mrbtest_io_rfname) == $mrbtest_io_msg.size and - File.size($mrbtest_io_wfname) == 0 -end - assert('File.join') do File.join() == "" and File.join("a") == "a" and |
