aboutsummaryrefslogtreecommitdiff
path: root/specs/Specs/ViewSpec.hs
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2024-12-24 18:51:17 +0530
committerAkshay Nair <phenax5@gmail.com>2024-12-24 18:51:17 +0530
commit70e3920556496e5fecb5fedddf1067b2522fcac7 (patch)
tree7e4e88023bdcd5b13dde738f7afedd533a6d7fcd /specs/Specs/ViewSpec.hs
parentdfdf1600ba251f6b3cfef85f6904d79a1c60b49d (diff)
downloadchelleport-70e3920556496e5fecb5fedddf1067b2522fcac7.tar.gz
chelleport-70e3920556496e5fecb5fedddf1067b2522fcac7.zip
Add setup for ocr with tesseract
Diffstat (limited to 'specs/Specs/ViewSpec.hs')
-rw-r--r--specs/Specs/ViewSpec.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/specs/Specs/ViewSpec.hs b/specs/Specs/ViewSpec.hs
index 7bca567..b8418d6 100644
--- a/specs/Specs/ViewSpec.hs
+++ b/specs/Specs/ViewSpec.hs
@@ -15,7 +15,8 @@ test = do
stateIsMatched = False,
stateGrid = [["ABC", "DEF"], ["DJK", "JKL"]],
stateRepetition = 1,
- stateIsDragging = False
+ stateIsDragging = False,
+ stateMode = ModeHints
}
let drawTextCalls = filter (\case Mock_drawText {} -> True; _ -> False) . calls