Skip to content

Commit

Permalink
Fix multiline eval padding
Browse files Browse the repository at this point in the history
See #2907
  • Loading branch information
xsebek committed May 16, 2022
1 parent 97a8909 commit 2a4b9d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/hls-eval-plugin/src/Ide/Plugin/Eval/CodeLens.hs
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,9 @@ runTests EvalConfig{..} e@(_st, _) tests = do
dbg "TEST RESULTS" rs

let checkedResult = testCheck eval_cfg_diff (section, test) rs
let resultLines = concatMap T.lines checkedResult

let edit = asEdit (sectionFormat section) test (map pad checkedResult)
let edit = asEdit (sectionFormat section) test (map pad resultLines)
dbg "TEST EDIT" edit
return edit

Expand Down

0 comments on commit 2a4b9d9

Please sign in to comment.