lib/tl1/test_io.rb in tl1-0.1.0 vs lib/tl1/test_io.rb in tl1-0.2.0
- old
+ new
@@ -1,5 +1,6 @@
# frozen_string_literal: true
+
module TL1
# A simple IO-like object that accepts a hash of string inputs and
# corresponding outputs, useful for testing.
class TestIO
def initialize(commands, first_output: '')