aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests
diff options
context:
space:
mode:
authorLibravatar Guillaume Gomez <guillaume1.gomez@gmail.com>2023-10-23 21:15:08 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2023-10-25 14:30:35 +0200
commitc3281e353d8192e6425f903216eeb6ecf9dd39fc (patch)
tree3d4b2fb068ea5debd7fa3447890afd589420b75e /testing/tests
parent6dae920a451407913ab188fd507a2cfc2cd03018 (diff)
downloadaskama-c3281e353d8192e6425f903216eeb6ecf9dd39fc.tar.gz
askama-c3281e353d8192e6425f903216eeb6ecf9dd39fc.tar.bz2
askama-c3281e353d8192e6425f903216eeb6ecf9dd39fc.zip
Improve error for invalid name used in `endblock`
Diffstat (limited to 'testing/tests')
-rw-r--r--testing/tests/ui/name_mismatch_endblock.stderr3
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/tests/ui/name_mismatch_endblock.stderr b/testing/tests/ui/name_mismatch_endblock.stderr
index 2cd7aaf..958c413 100644
--- a/testing/tests/ui/name_mismatch_endblock.stderr
+++ b/testing/tests/ui/name_mismatch_endblock.stderr
@@ -1,4 +1,5 @@
-error: problems parsing template source at row 1, column 27 near:
+error: expected name `foo` in `endblock` tag, found `not_foo`
+ problems parsing template source at row 1, column 27 near:
"not_foo %}"
--> tests/ui/name_mismatch_endblock.rs:3:10
|