mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
ensure assert inserted in correct place (IDEA-123296)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// "Assert 'container != null'" "true"
|
||||
class A{
|
||||
void test(){
|
||||
Object container = null;
|
||||
Runnable r = () -> {
|
||||
assert container != null;
|
||||
container == null ? container.toString() : "";
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// "Assert 'container != null'" "true"
|
||||
class A{
|
||||
void test(){
|
||||
Object container = null;
|
||||
Runnable r = () -> container == null ? conta<caret>iner.toString() : "";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user