From 5395d083301855747b89ce49a5e1648360ecda7c Mon Sep 17 00:00:00 2001 From: Konstantin Hudyakov Date: Wed, 23 Oct 2024 17:19:29 +0300 Subject: [PATCH] IJOB-568 Fix unexpected restore in Surround and Unwrap lesson It happened in the Java version of the lesson. (cherry picked from commit e8eee237f0c5d18bc34e34311216402f3215920f) IJ-CR-147744 GitOrigin-RevId: b82fcc70afad11096af998445f1c97d13c3e4a6c --- .../training/learn/lesson/general/SurroundAndUnwrapLesson.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ide-features-trainer/src/training/learn/lesson/general/SurroundAndUnwrapLesson.kt b/plugins/ide-features-trainer/src/training/learn/lesson/general/SurroundAndUnwrapLesson.kt index 2f88e9116560..f86eca281ecd 100644 --- a/plugins/ide-features-trainer/src/training/learn/lesson/general/SurroundAndUnwrapLesson.kt +++ b/plugins/ide-features-trainer/src/training/learn/lesson/general/SurroundAndUnwrapLesson.kt @@ -43,7 +43,7 @@ abstract class SurroundAndUnwrapLesson surroundItems.all { sequence.contains(it) } } } - restoreByUi() + restoreByUi(delayMillis = defaultRestoreDelay) test { type("${surroundItems.joinToString(separator = " ")}\n") }