# File lib/net/ssh/test.rb, line 82 82: def assert_scripted 83: raise "there is no script to be processed" if socket.script.events.empty? 84: yield 85: assert socket.script.events.empty?, "there should not be any remaining scripted events, but there are still #{socket.script.events.length} pending" 86: end