Skip to content

Commit

Permalink
Merge branch 'MDL-75985-400' of https://github.com/andrewnicols/moodle
Browse files Browse the repository at this point in the history
…into MOODLE_400_STABLE
  • Loading branch information
junpataleta committed Oct 19, 2022
2 parents d1a16f5 + 825f039 commit 984057c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tests/behat/behat_general.php
Expand Up @@ -1780,8 +1780,8 @@ public function i_type(string $keys): void {
// 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;
}
Expand Down

0 comments on commit 984057c

Please sign in to comment.