From e7e0bc7113ffe38273848c79e77b6c90dfaa93f4 Mon Sep 17 00:00:00 2001 From: "Grail Finder (aider)" Date: Sat, 5 Apr 2025 15:55:42 +0300 Subject: test: update question flow test assertions and feedback structure --- components/index.html | 9 ++++++++- internal/handlers/handlers_test.go | 9 ++++++--- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/components/index.html b/components/index.html index fb294f5..b51c0e3 100644 --- a/components/index.html +++ b/components/index.html @@ -13,7 +13,14 @@
{{.Text}}
-
+
+ {{if .Correct}} +
Correct!
+ {{else}} +
Try Again
+ {{end}} +
{{.Explanation}}
+