Skip to content

Commit 1ac6204

Browse files
committed
e2e(core): fix tests
1 parent 81aa10c commit 1ac6204

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
./ReturnType.ttcn:
2-
4:10: void function should not return a value
3-
return 1; // EXPECT_ERROR
4-
~
5-
8:10: expected value of type 'integer', got 'float'
6-
return 1.0; // EXPECT_ERROR
7-
~~~
8-
13:10: expected value, got template
9-
return i; // EXPECT_ERROR
10-
~
11-
50:35: not all control paths return a value
2+
50:35: kNotAllControlPathsReturnAValue
123
function missingReturnStatement() return integer { // EXPECT_ERROR
134
~~~~~~~~~~~~~~
14-
54:46: not all control paths return a value
5+
54:46: kNotAllControlPathsReturnAValue
156
function missingReturnStatementInABranch_1() return integer { // EXPECT_ERROR
167
~~~~~~~~~~~~~~
17-
60:46: not all control paths return a value
8+
60:46: kNotAllControlPathsReturnAValue
189
function missingReturnStatementInABranch_2() return integer { // EXPECT_ERROR
1910
~~~~~~~~~~~~~~
20-
68:46: not all control paths return a value
11+
68:46: kNotAllControlPathsReturnAValue
2112
function missingReturnStatementInABranch_3() return integer { // EXPECT_ERROR
2213
~~~~~~~~~~~~~~
23-
81:46: not all control paths return a value
14+
81:46: kNotAllControlPathsReturnAValue
2415
function missingReturnStatement_selectStmt() return integer { // EXPECT_ERROR
2516
~~~~~~~~~~~~~~
17+
4:10: void function should not return a value
18+
return 1; // EXPECT_ERROR
19+
~
20+
8:10: expected value of type 'integer', got 'float'
21+
return 1.0; // EXPECT_ERROR
22+
~~~
23+
13:10: expected value, got template
24+
return i; // EXPECT_ERROR
25+
~

0 commit comments

Comments
 (0)