diff options
| author | Akshay Nair <phenax5@gmail.com> | 2024-12-24 18:51:17 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2024-12-24 18:51:17 +0530 |
| commit | 70e3920556496e5fecb5fedddf1067b2522fcac7 (patch) | |
| tree | 7e4e88023bdcd5b13dde738f7afedd533a6d7fcd /specs | |
| parent | dfdf1600ba251f6b3cfef85f6904d79a1c60b49d (diff) | |
| download | chelleport-70e3920556496e5fecb5fedddf1067b2522fcac7.tar.gz chelleport-70e3920556496e5fecb5fedddf1067b2522fcac7.zip | |
Add setup for ocr with tesseract
Diffstat (limited to 'specs')
| -rw-r--r-- | specs/Specs/AppStateUpdateSpec.hs | 3 | ||||
| -rw-r--r-- | specs/Specs/ViewSpec.hs | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/specs/Specs/AppStateUpdateSpec.hs b/specs/Specs/AppStateUpdateSpec.hs index 67f6fb2..e54f50f 100644 --- a/specs/Specs/AppStateUpdateSpec.hs +++ b/specs/Specs/AppStateUpdateSpec.hs @@ -35,7 +35,8 @@ test = do stateIsMatched = False, stateGrid = [["ABC", "DEF"], ["DJK", "JKL"]], stateRepetition = 1, - stateIsDragging = False + stateIsDragging = False, + stateMode = ModeHints } context "with action HandleKeyInput" $ do 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 |
