lib/expectr.rb in expectr-0.8.3 vs lib/expectr.rb in expectr-0.8.4
- old
+ new
@@ -234,13 +234,9 @@
# === Description
#
# Wait +timeout+ seconds to match +pattern+ in +buffer+. If timeout is
# reached, raise an error unless +recoverable+ is true.
#
- # === Bugs
- #
- # * Interrupts are not handled and passed through to the application
- #
def expect(pattern, recoverable = false)
match = nil
case pattern
when String