Fix uhwm_wait_output acceptance helper with strings
This commit is contained in:
@@ -30,7 +30,7 @@ module Uh
|
|||||||
timeout_until do
|
timeout_until do
|
||||||
case message
|
case message
|
||||||
when Regexp then output.call =~ message
|
when Regexp then output.call =~ message
|
||||||
when String then assert_partial_output_interactive message
|
when String then output.call.include? message
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
rescue TimeoutError => e
|
rescue TimeoutError => e
|
||||||
|
Reference in New Issue
Block a user