diff options
| author | Tomoyuki Sahara <[email protected]> | 2013-08-23 16:00:08 +0900 |
|---|---|---|
| committer | Tomoyuki Sahara <[email protected]> | 2013-08-23 16:00:08 +0900 |
| commit | 9dc875f2460433e5f69eaf0a2dbb560e414db789 (patch) | |
| tree | fd57a915a0c338cec19f657c869cd76244a2deb7 /test | |
| parent | 5e8021bedba95813e91693c85e1cad829355a352 (diff) | |
| download | mruby-9dc875f2460433e5f69eaf0a2dbb560e414db789.tar.gz mruby-9dc875f2460433e5f69eaf0a2dbb560e414db789.zip | |
add `cmd` (command output expression).
Diffstat (limited to 'test')
| -rw-r--r-- | test/io.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/io.rb b/test/io.rb index 727c67303..315f3ea79 100644 --- a/test/io.rb +++ b/test/io.rb @@ -232,6 +232,10 @@ assert('IO#fileno') do io.closed? end +assert('`cmd`') do + assert_equal `echo foo`, "foo\n" +end + assert('IO TEST CLEANUP') do assert_nil MRubyIOTestUtil.io_test_cleanup end |
