[Spec tests] Update tests with spec version 0.1-313

This commit is contained in:
anastasiia.spaseeva
2020-03-30 18:10:09 +03:00
parent 52cc7aa117
commit 0397470b85
100 changed files with 335 additions and 335 deletions
@@ -4,7 +4,7 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (NEGATIVE)
*
* SPEC VERSION: 0.1-218
* SPEC VERSION: 0.1-313
* PLACE: expressions, when-expression -> paragraph 4 -> sentence 1
* NUMBER: 1
* DESCRIPTION: it is possible to replace the else condition with an always-true condition (Enum)
@@ -3,7 +3,7 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (NEGATIVE)
*
* SPEC VERSION: 0.1-218
* SPEC VERSION: 0.1-313
* PLACE: expressions, when-expression -> paragraph 4 -> sentence 1
* NUMBER: 2
* DESCRIPTION: it is possible to replace the else condition with an always-true condition (Boolean)
@@ -3,7 +3,7 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (NEGATIVE)
*
* SPEC VERSION: 0.1-218
* SPEC VERSION: 0.1-313
* PLACE: expressions, when-expression -> paragraph 4 -> sentence 1
* NUMBER: 3
* DESCRIPTION: it is possible to replace the else condition with an always-true condition (Boolean)
@@ -3,7 +3,7 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (NEGATIVE)
*
* SPEC VERSION: 0.1-218
* SPEC VERSION: 0.1-313
* PLACE: expressions, when-expression -> paragraph 4 -> sentence 1
* NUMBER: 4
* DESCRIPTION: it is possible to replace the else condition with an always-true condition (sealed class)
@@ -4,7 +4,7 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-218
* SPEC VERSION: 0.1-313
* PLACE: expressions, when-expression -> paragraph 4 -> sentence 1
* NUMBER: 1
* DESCRIPTION: it is possible to replace the else condition with an always-true condition (Enum)
@@ -3,7 +3,7 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-218
* SPEC VERSION: 0.1-313
* PLACE: expressions, when-expression -> paragraph 4 -> sentence 1
* NUMBER: 2
* DESCRIPTION: it is possible to replace the else condition with an always-true condition (Boolean)
@@ -3,7 +3,7 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-218
* SPEC VERSION: 0.1-313
* PLACE: expressions, when-expression -> paragraph 4 -> sentence 1
* NUMBER: 3
* DESCRIPTION: it is possible to replace the else condition with an always-true condition (Boolean)
@@ -3,7 +3,7 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-218
* SPEC VERSION: 0.1-313
* PLACE: expressions, when-expression -> paragraph 4 -> sentence 1
* NUMBER: 4
* DESCRIPTION: it is possible to replace the else condition with an always-true condition (sealed class)
@@ -4,7 +4,7 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (NEGATIVE)
*
* SPEC VERSION: 0.1-218
* SPEC VERSION: 0.1-313
* PLACE: expressions, when-expression -> paragraph 5 -> sentence 2
* NUMBER: 1
* DESCRIPTION: The else condition is a special condition which evaluates to true if none of the branches above it evaluated to true.
@@ -4,7 +4,7 @@
/*
* KOTLIN CODEGEN BOX SPEC TEST (POSITIVE)
*
* SPEC VERSION: 0.1-218
* SPEC VERSION: 0.1-313
* PLACE: expressions, when-expression -> paragraph 5 -> sentence 1
* NUMBER: 1
* DESCRIPTION: The else condition must also be in the last when entry of when expression, otherwise it is a compile-time error.
@@ -3,25 +3,25 @@
"neg": {
"1": [
{
"specVersion": "0.1-218",
"specVersion": "0.1-313",
"casesNumber": 0,
"description": " it is possible to replace the else condition with an always-true condition (Boolean)",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-218",
"specVersion": "0.1-313",
"casesNumber": 0,
"description": " it is possible to replace the else condition with an always-true condition (Boolean)",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-218",
"specVersion": "0.1-313",
"casesNumber": 0,
"description": " it is possible to replace the else condition with an always-true condition (sealed class)",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-218",
"specVersion": "0.1-313",
"casesNumber": 0,
"description": "it is possible to replace the else condition with an always-true condition (Enum)",
"unexpectedBehaviour": false
@@ -31,25 +31,25 @@
"pos": {
"1": [
{
"specVersion": "0.1-218",
"specVersion": "0.1-313",
"casesNumber": 0,
"description": " it is possible to replace the else condition with an always-true condition (Boolean)",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-218",
"specVersion": "0.1-313",
"casesNumber": 0,
"description": " it is possible to replace the else condition with an always-true condition (Boolean)",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-218",
"specVersion": "0.1-313",
"casesNumber": 0,
"description": " it is possible to replace the else condition with an always-true condition (sealed class)",
"unexpectedBehaviour": false
},
{
"specVersion": "0.1-218",
"specVersion": "0.1-313",
"casesNumber": 0,
"description": "it is possible to replace the else condition with an always-true condition (Enum)",
"unexpectedBehaviour": false
@@ -61,7 +61,7 @@
"neg": {
"2": [
{
"specVersion": "0.1-218",
"specVersion": "0.1-313",
"casesNumber": 0,
"description": "The else condition is a special condition which evaluates to true if none of the branches above it evaluated to true.",
"unexpectedBehaviour": false
@@ -71,7 +71,7 @@
"pos": {
"1": [
{
"specVersion": "0.1-218",
"specVersion": "0.1-313",
"casesNumber": 0,
"description": "The else condition must also be in the last when entry of when expression, otherwise it is a compile-time error.",
"unexpectedBehaviour": false