test/test_interaction.rb in expectr-1.0.0 vs test/test_interaction.rb in expectr-1.0.1
- old
+ new
@@ -1,10 +1,10 @@
require 'helper'
class InteractionTest < Test::Unit::TestCase
# Assume that bc(1) exists on the system for these tests
def setup
- @exp = Expectr.new("bc", :flush_buffer => false, :timeout => 1)
+ @exp = Expectr.new("bc", flush_buffer: false, timeout: 1)
end
def test_send_and_expect
assert_nothing_raised do
@exp.send("300+21\n")