Skip to content

Commit 6d054ba

Browse files
committed
Cleaned up hello_you test
1 parent a46989d commit 6d054ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test_hello_you.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
# The actual test
2020
describe 'hello_you' do
2121
it "works for a random name" do
22-
ProcessPilot::pilot('hello_you.rb', :force_ruby_process_sync => true, :debug=> true) do |oStdin, iStdout|
22+
ProcessPilot::pilot('hello_you.rb', :force_ruby_process_sync => true) do |oStdin, iStdout|
2323
iStdout.readpartial(100) # => "Enter your name: "
2424
oStdin.write("Boris the Newt\n")
2525

2626
output = iStdout.gets.chomp # => "Hello Boris the newt"
27-
assert_equal output, "Hello Boris the Newt"
27+
assert_equal "Hello Boris the Newt", output
2828

2929
end
3030

0 commit comments

Comments
 (0)