mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
AssertAllInliner: push method result value (Fixes EA-129810 - ESE: Stack.pop)
This commit is contained in:
+2
-1
@@ -54,7 +54,8 @@ public class AssertAllInliner implements CallInliner {
|
||||
builder.push(result)
|
||||
.ifConditionIs(true)
|
||||
.doThrow(throwable)
|
||||
.end();
|
||||
.end()
|
||||
.pushUnknown(); // void method result
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -58,4 +58,8 @@ public class AssertAll {
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
void testEmpty() {
|
||||
Assertions.assertAll();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user