Update error codes #42
Annotations
10 errors
tests/acts.test.ts > actions > multiline act requires colon:
tests/acts.test.ts#L263
AssertionError: expected "spy" to be called with arguments: [ { actionIndex: -1, …(6) } ]
Received:
1st spy call:
Array [
Object {
"actionIndex": -1,
"description": "Sign [:] not found!",
- "errorCode": 16,
+ "errorCode": 106,
"line": 2,
"lineSrc": "ACT 'test'",
"localLine": 2,
"location": "test",
},
]
Number of calls: 1
❯ tests/acts.test.ts:263:19
|
tests/acts.test.ts > actions > multiline act requires colon:
tests/acts.test.ts#L20
AssertionError: expected "spy" to not be called at all, but actually been called 1 times
Received:
1st spy call:
Array [
Object {
"actionIndex": -1,
"description": "Sign [:] not found!",
"errorCode": 106,
"line": 2,
"lineSrc": "ACT 'test'",
"localLine": 2,
"location": "test",
},
]
Number of calls: 1
❯ tests/acts.test.ts:20:23
|
tests/arrays.test.ts > arrays > SORTARR > sorting mized values should error:
tests/arrays.test.ts#L659
AssertionError: expected "spy" to be called with arguments: [ { actionIndex: -1, …(6) } ]
Received:
1st spy call:
Array [
Object {
"actionIndex": -1,
"description": "Type mismatch!",
- "errorCode": 11,
+ "errorCode": 101,
"line": 7,
"lineSrc": "SORTARR('$a')",
"localLine": 7,
"location": "test",
},
]
Number of calls: 1
❯ tests/arrays.test.ts:659:21
|
tests/arrays.test.ts > arrays > SORTARR > sorting mized values should error:
tests/arrays.test.ts#L15
AssertionError: expected "spy" to not be called at all, but actually been called 1 times
Received:
1st spy call:
Array [
Object {
"actionIndex": -1,
"description": "Type mismatch!",
"errorCode": 101,
"line": 7,
"lineSrc": "SORTARR('$a')",
"localLine": 7,
"location": "test",
},
]
Number of calls: 1
❯ tests/arrays.test.ts:15:23
|
tests/conditionals.test.ts > conditionals > multi line if > multi line if without end shows error:
tests/conditionals.test.ts#L844
AssertionError: expected "spy" to be called with arguments: [ { actionIndex: -1, …(6) } ]
Received:
1st spy call:
Array [
Object {
"actionIndex": -1,
"description": "[end] not found!",
- "errorCode": 21,
+ "errorCode": 111,
"line": 2,
"lineSrc": "IF ABCD = 3:",
"localLine": 2,
"location": "test",
},
]
Number of calls: 1
❯ tests/conditionals.test.ts:844:21
|
tests/conditionals.test.ts > conditionals > multi line if > multi line if without end shows error:
tests/conditionals.test.ts#L15
AssertionError: expected "spy" to not be called at all, but actually been called 1 times
Received:
1st spy call:
Array [
Object {
"actionIndex": -1,
"description": "[end] not found!",
"errorCode": 111,
"line": 2,
"lineSrc": "IF ABCD = 3:",
"localLine": 2,
"location": "test",
},
]
Number of calls: 1
❯ tests/conditionals.test.ts:15:23
|
tests/conditionals.test.ts > conditionals > multi line if > nested multi line if without end shows error:
tests/conditionals.test.ts#L868
AssertionError: expected "spy" to be called with arguments: [ { actionIndex: -1, …(6) } ]
Received:
1st spy call:
Array [
Object {
"actionIndex": -1,
"description": "[end] not found!",
- "errorCode": 21,
+ "errorCode": 111,
"line": 3,
"lineSrc": "IF ABC <> 3:",
"localLine": 3,
"location": "test",
},
]
Number of calls: 1
❯ tests/conditionals.test.ts:868:21
|
tests/conditionals.test.ts > conditionals > multi line if > nested multi line if without end shows error:
tests/conditionals.test.ts#L15
AssertionError: expected "spy" to not be called at all, but actually been called 1 times
Received:
1st spy call:
Array [
Object {
"actionIndex": -1,
"description": "[end] not found!",
"errorCode": 111,
"line": 3,
"lineSrc": "IF ABC <> 3:",
"localLine": 3,
"location": "test",
},
]
Number of calls: 1
❯ tests/conditionals.test.ts:15:23
|
tests/conditionals.test.ts > conditionals > multi line if > end in single line if shows error:
tests/conditionals.test.ts#L887
AssertionError: expected "spy" to be called with arguments: [ { actionIndex: -1, …(6) } ]
Received:
1st spy call:
Array [
Object {
"actionIndex": -1,
"description": "Unknown action!",
- "errorCode": 28,
+ "errorCode": 118,
"line": 2,
"lineSrc": "IF ABCD=3: K1=34 ELSE K1=25 END",
"localLine": 2,
"location": "test",
},
]
Number of calls: 1
❯ tests/conditionals.test.ts:887:21
|
tests/conditionals.test.ts > conditionals > multi line if > end in single line if shows error:
tests/conditionals.test.ts#L15
AssertionError: expected "spy" to not be called at all, but actually been called 1 times
Received:
1st spy call:
Array [
Object {
"actionIndex": -1,
"description": "Unknown action!",
"errorCode": 118,
"line": 2,
"lineSrc": "IF ABCD=3: K1=34 ELSE K1=25 END",
"localLine": 2,
"location": "test",
},
]
Number of calls: 1
❯ tests/conditionals.test.ts:15:23
|