Skip to content

Commit a18cce4

Browse files
committed
fix tests
1 parent b2d295a commit a18cce4

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

evaluator/evaluator_test.go

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -206,27 +206,27 @@ func TestErrorHandling(t *testing.T) {
206206
}{
207207
{
208208
"5 + kweli",
209-
"Mstari 0: Aina Hazilingani: NAMBA + BOOLEAN",
209+
"Mstari 1: Aina Hazilingani: NAMBA + BOOLEAN",
210210
},
211211
{
212212
"5 + kweli; 5;",
213-
"Mstari 0: Aina Hazilingani: NAMBA + BOOLEAN",
213+
"Mstari 1: Aina Hazilingani: NAMBA + BOOLEAN",
214214
},
215215
{
216216
"-kweli",
217-
"Mstari 0: Operesheni Haielweki: -BOOLEAN",
217+
"Mstari 1: Operesheni Haielweki: -BOOLEAN",
218218
},
219219
{
220220
"kweli + sikweli",
221-
"Mstari 0: Operesheni Haielweki: BOOLEAN + BOOLEAN",
221+
"Mstari 1: Operesheni Haielweki: BOOLEAN + BOOLEAN",
222222
},
223223
{
224224
"5; kweli + sikweli; 5",
225-
"Mstari 0: Operesheni Haielweki: BOOLEAN + BOOLEAN",
225+
"Mstari 1: Operesheni Haielweki: BOOLEAN + BOOLEAN",
226226
},
227227
{
228228
"kama (10 > 1) { kweli + sikweli;}",
229-
"Mstari 0: Operesheni Haielweki: BOOLEAN + BOOLEAN",
229+
"Mstari 1: Operesheni Haielweki: BOOLEAN + BOOLEAN",
230230
},
231231
{
232232
`
@@ -238,19 +238,19 @@ kama (10 > 1) {
238238
rudisha 1;
239239
}
240240
`,
241-
"Mstari 3: Operesheni Haielweki: BOOLEAN + BOOLEAN",
241+
"Mstari 4: Operesheni Haielweki: BOOLEAN + BOOLEAN",
242242
},
243243
{
244244
"bangi",
245-
"Mstari 0: Neno Halifahamiki: bangi",
245+
"Mstari 1: Neno Halifahamiki: bangi",
246246
},
247247
{
248248
`"Habari" - "Habari"`,
249-
"Mstari 0: Operesheni Haielweki: NENO - NENO",
249+
"Mstari 1: Operesheni Haielweki: NENO - NENO",
250250
},
251251
{
252252
`{"jina": "Avi"}[unda(x) {x}];`,
253-
"Mstari 0: Samahani, UNDO (FUNCTION) haitumiki kama key",
253+
"Mstari 1: Samahani, UNDO (FUNCTION) haitumiki kama key",
254254
},
255255
}
256256

0 commit comments

Comments
 (0)