[Spec tests] fix test parser exceptions handler

This commit is contained in:
anastasiia.spaseeva
2019-12-12 11:20:04 +03:00
parent fdef51e8b7
commit 8187405dbd
17 changed files with 63 additions and 51 deletions
@@ -9,7 +9,6 @@
* PLACE: control--and-data-flow-analysis, control-flow-graph, expressions-1, conditional-expressions -> paragraph 1 -> sentence 1
* NUMBER: 1
* DESCRIPTION: check if-expressions must have both branches.
* HELPERS:
*/
// TESTCASE NUMBER: 1
@@ -5,7 +5,7 @@
{
"specVersion": "0.1-213",
"casesNumber": 2,
"description": "* HELPERS: checkType",
"description": "check any if-statement in kotlin may be trivially turned into such an expression by replacing the missing branch with a kotlin.Unit object expression.",
"unexpectedBehaviour": false
}
],
@@ -13,7 +13,7 @@
{
"specVersion": "0.1-213",
"casesNumber": 2,
"description": "* HELPERS:",
"description": "check if-expressions must have both branches.",
"unexpectedBehaviour": false
}
]
@@ -23,7 +23,7 @@
{
"specVersion": "0.1-213",
"casesNumber": 2,
"description": "* HELPERS: checkType, functions",
"description": "check any if-statement in kotlin may be trivially turned into such an expression by replacing the missing branch with a kotlin.Unit object expression.",
"unexpectedBehaviour": false
}
],
@@ -31,7 +31,7 @@
{
"specVersion": "0.1-213",
"casesNumber": 3,
"description": "* HELPERS: checkType, functions",
"description": "check if-expressions must have both branches.",
"unexpectedBehaviour": false
},
{