diff options
| author | Tomoyuki Sahara <[email protected]> | 2013-10-09 00:35:22 +0900 |
|---|---|---|
| committer | Tomoyuki Sahara <[email protected]> | 2013-10-09 00:35:22 +0900 |
| commit | 93edd26b3e0d3d96f4589a8c7a382d12b911b52a (patch) | |
| tree | aab7713aaeb1071c1e2d5b9d55cc6b4041e96d1d | |
| parent | 005f01f2fc1b03a142ae04d4c94255fca15ddd33 (diff) | |
| download | mruby-93edd26b3e0d3d96f4589a8c7a382d12b911b52a.tar.gz mruby-93edd26b3e0d3d96f4589a8c7a382d12b911b52a.zip | |
fix typo...
| -rw-r--r-- | test/file.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/file.rb b/test/file.rb index 8865a30a9..1188fcc8f 100644 --- a/test/file.rb +++ b/test/file.rb @@ -58,7 +58,7 @@ assert('IO#flock') do f = File.open $mrbtest_io_rfname assert_equal(f.flock(File::LOCK_SH), 0) assert_equal(f.flock(File::LOCK_UN), 0) - assert_equal(f.flock(File::LOCK_EX | File::LOCK_UN), 0) + assert_equal(f.flock(File::LOCK_EX | File::LOCK_NB), 0) assert_equal(f.flock(File::LOCK_UN), 0) f.close true |
