Forum Discussion
_ivanovich_
Frequent Contributor
OK so see the follwing example:
It should fail for me but it doesn't
try{
def b = 14
def a =1
if(a == '2'){
assert a == b
}
}catch (AssertionError e)
....
_ivanovich_
6 years agoFrequent Contributor
ok i found my problem, it works without try catch block .
Related Content
- 4 years ago
- 2 years ago
Recent Discussions
- 15 years ago