From c0cde6355a9bdcb00ecf230b6e1324b40f7cedcd Mon Sep 17 00:00:00 2001 From: Shashank Mittal Date: Sun, 26 May 2024 03:49:34 +0530 Subject: [PATCH] test fix Signed-off-by: Shashank Mittal --- .../comprehension/dict/invalid_loop_var_fail_0/stderr.golden | 2 +- .../comprehension/list/invalid_loop_var_fail_0/stderr.golden | 2 +- .../comprehension/str/invalid_loop_var_fail_0/stderr.golden | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/grammar/comprehension/dict/invalid_loop_var_fail_0/stderr.golden b/test/grammar/comprehension/dict/invalid_loop_var_fail_0/stderr.golden index 715693b50..4fa9db858 100644 --- a/test/grammar/comprehension/dict/invalid_loop_var_fail_0/stderr.golden +++ b/test/grammar/comprehension/dict/invalid_loop_var_fail_0/stderr.golden @@ -1,5 +1,5 @@ error[E2L23]: CompileError - --> ${CWD}/main.k:2:25 + --> ${CWD}/main.k:2:23 | 2 | dataLoop = [i for i, j, k in data] # error | ^ the number of loop variables is 3, which can only be 1 or 2 diff --git a/test/grammar/comprehension/list/invalid_loop_var_fail_0/stderr.golden b/test/grammar/comprehension/list/invalid_loop_var_fail_0/stderr.golden index 715693b50..4fa9db858 100644 --- a/test/grammar/comprehension/list/invalid_loop_var_fail_0/stderr.golden +++ b/test/grammar/comprehension/list/invalid_loop_var_fail_0/stderr.golden @@ -1,5 +1,5 @@ error[E2L23]: CompileError - --> ${CWD}/main.k:2:25 + --> ${CWD}/main.k:2:23 | 2 | dataLoop = [i for i, j, k in data] # error | ^ the number of loop variables is 3, which can only be 1 or 2 diff --git a/test/grammar/comprehension/str/invalid_loop_var_fail_0/stderr.golden b/test/grammar/comprehension/str/invalid_loop_var_fail_0/stderr.golden index d109dd885..72dadd0a2 100644 --- a/test/grammar/comprehension/str/invalid_loop_var_fail_0/stderr.golden +++ b/test/grammar/comprehension/str/invalid_loop_var_fail_0/stderr.golden @@ -1,5 +1,5 @@ error[E2L23]: CompileError - --> ${CWD}/main.k:2:25 + --> ${CWD}/main.k:2:23 | 2 | dataLoop = [i for i, j, k in dataString] # error | ^ the number of loop variables is 3, which can only be 1 or 2