| 27 | end |
| 28 | |
| 29 | def test_append |
| 30 | tempfile = Tempfile.open("arrow-io-file-output-stream") |
| 31 | tempfile.write("Hello") |
| 32 | tempfile.close |
| 33 | file = Arrow::FileOutputStream.new(tempfile.path, true) |
| 34 | file.close |
| 35 | assert_equal("Hello", File.read(tempfile.path)) |
| 36 | end |
| 37 | end |
| 38 | end |