Fix takeFramedByEsc_ test case

This commit is contained in:
Ranjeet Kumar Ranjan 2022-05-26 17:43:19 +05:30 committed by Harendra Kumar
parent cbccb77777
commit 509fc06729

View File

@ -956,10 +956,7 @@ takeFramedByEsc_Pass =
else
x : helper xs Nothing openMinusClose
Just _ ->
if escape x || begin x || end x
then helper xs Nothing openMinusClose
else
x : helper xs Nothing openMinusClose
x : helper xs Nothing openMinusClose
helper [] _ _ = error "Cannot Reach Here"
in
helper l Nothing (0 :: Int)