[Spec tests] Add linkType element to testMaps

This commit is contained in:
anastasiia.spaseeva
2020-04-20 14:45:43 +03:00
parent 3a31150df4
commit d94c212a60
130 changed files with 3130 additions and 1551 deletions
@@ -6,13 +6,15 @@
"specVersion": "0.1-220",
"casesNumber": 0,
"description": "For an expression e!!, if the type of e is nullable, a not-null assertion expression checks, whether the evaluation result of e is equal to null and, if it is, throws a runtime exception.",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
},
{
"specVersion": "0.1-220",
"casesNumber": 0,
"description": "For an expression e!!, if the type of e is nullable, a not-null assertion expression checks, whether the evaluation result of e is equal to null and, if it is, throws a runtime exception.",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
}
],
"1": [
@@ -21,14 +23,16 @@
"casesNumber": 0,
"description": "For an expression e!!, if the type of e is nullable, a not-null assertion expression checks, whether the evaluation result of e is equal to null and, if it is, throws a runtime exception.",
"path": "compiler/tests-spec/testData/codegen/box/linked/expressions/not-null-assertion-expression/p-2/pos/2.1.kt",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "primary"
},
{
"specVersion": "0.1-220",
"casesNumber": 0,
"description": "For an expression e!!, if the type of e is nullable, a not-null assertion expression checks, whether the evaluation result of e is equal to null and, if it is, throws a runtime exception.",
"path": "compiler/tests-spec/testData/codegen/box/linked/expressions/not-null-assertion-expression/p-2/pos/2.2.kt",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "primary"
}
],
"3": [
@@ -36,7 +40,8 @@
"specVersion": "0.1-220",
"casesNumber": 0,
"description": "If the evaluation result of e is not equal to null, the result of e!! is the evaluation result of e.",
"unexpectedBehaviour": false
"unexpectedBehaviour": false,
"linkType": "main"
}
]
}