diff options
| author | ksss <[email protected]> | 2018-01-13 15:28:08 +0900 |
|---|---|---|
| committer | ksss <[email protected]> | 2018-01-14 22:40:45 +0900 |
| commit | e5e9d034825064acecafa3fe292baae425218a38 (patch) | |
| tree | 72ebc842582ed73b9157f33c8f1bd87fce84c082 /mrbgems/mruby-io/test | |
| parent | 623436276e9650ce60c64bc24bfd430aab8a4193 (diff) | |
| download | mruby-e5e9d034825064acecafa3fe292baae425218a38.tar.gz mruby-e5e9d034825064acecafa3fe292baae425218a38.zip | |
Should be true for close_on_exec flag
Diffstat (limited to 'mrbgems/mruby-io/test')
| -rw-r--r-- | mrbgems/mruby-io/test/io.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mrbgems/mruby-io/test/io.rb b/mrbgems/mruby-io/test/io.rb index 96c3495d0..5c737f6d0 100644 --- a/mrbgems/mruby-io/test/io.rb +++ b/mrbgems/mruby-io/test/io.rb @@ -216,6 +216,7 @@ assert('IO#dup for readable') do dup = io.dup assert_true io != dup assert_true io.fileno != dup.fileno + assert_true dup.close_on_exec? assert_equal 'm', dup.sysread(1) assert_equal 'r', io.sysread(1) assert_equal 'u', dup.sysread(1) |
