MDL-75985 behat: Return newline character for \n
Somehow part of this commit was lost during the push and/or squash.
This commit is contained in:
@@ -1780,8 +1780,8 @@ EOF;
|
||||
// Without this, keys will behave differently depending on the browser.
|
||||
$keylist = array_map(function($key): string {
|
||||
switch ($key) {
|
||||
case '\n':
|
||||
behat_keys::ENTER;
|
||||
case "\n":
|
||||
return behat_keys::ENTER;
|
||||
default:
|
||||
return $key;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user