From fa949e7e7e548a45c2cddbeadee294082ae0799a Mon Sep 17 00:00:00 2001 From: Ultra2D Date: Thu, 14 Jul 2016 09:41:01 +0200 Subject: Match entire control sequence after Press any key to continue --- lib/oxidized/model/procurve.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/oxidized/model/procurve.rb b/lib/oxidized/model/procurve.rb index 0dc6f8f..da792e6 100644 --- a/lib/oxidized/model/procurve.rb +++ b/lib/oxidized/model/procurve.rb @@ -11,7 +11,7 @@ class Procurve < Oxidized::Model data.gsub re, '' end - expect /Press any key to continue/ do + expect /Press any key to continue(\e\[\??\d+(;\d+)*[A-Za-z])*$/ do send ' ' "" end -- cgit v1.2.1