diff --git a/idea/testData/checker/ObjectLiteralInDelegate.fir.kt b/idea/testData/checker/ObjectLiteralInDelegate.fir.kt
index c4ff14021b3..e542fc8871d 100644
--- a/idea/testData/checker/ObjectLiteralInDelegate.fir.kt
+++ b/idea/testData/checker/ObjectLiteralInDelegate.fir.kt
@@ -3,11 +3,11 @@ interface A {
fun get(x: Int)
}
-class B : A by object : A {}
+class B : A by object : A {}
-class C : A by (object : A {})
+class C : A by (object : A {})
-class D : A by 1 + (object : A {})
+class D : A by 1 + (object : A {})
fun bar() {
val e = object : A by object : A {} {}