IDEA-235296 Refactor ensureCodeBlock: AddAssertStatementFix updated

GitOrigin-RevId: e1e2f6021664be235b663876fe6629729fd0a4ef
This commit is contained in:
Tagir Valeev
2020-03-17 20:53:55 +00:00
committed by intellij-monorepo-bot
parent f245722610
commit 0f4d8695e9
4 changed files with 17 additions and 18 deletions
@@ -1,7 +1,9 @@
// "Assert 'container != null'" "true"
import java.util.function.Supplier;
class A{
void test(){
Object container = null;
Runnable r = () -> container == null ? container.toS<caret>tring() : "";
Supplier<String> r = () -> container == null ? container.toS<caret>tring() : "";
}
}