Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ fix ] typo in error message #1081

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Data/Aeson/Decoding/ByteString.hs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ scanStringLiteral ok err bs0 = go 0 bs0 where
Just (_, bs') -> goEsc (n + 1) bs'

errEnd = err "Unexpected end-of-input while parsing string literal"
errCC = err "Unespected control character while parsing string literal"
errCC = err "Unexpected control character while parsing string literal"

-------------------------------------------------------------------------------
-- Number
Expand Down
2 changes: 1 addition & 1 deletion src/Data/Aeson/Decoding/ByteString/Lazy.hs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ scanStringLiteral ok err bs0 = go 0 bs0 where
Just (_, bs') -> goEsc (n + 1) bs'

errEnd = err "Unexpected end-of-input while parsing string literal"
errCC = err "Unespected control character while parsing string literal"
errCC = err "Unexpected control character while parsing string literal"

-------------------------------------------------------------------------------
-- Number
Expand Down
2 changes: 1 addition & 1 deletion src/Data/Aeson/Decoding/Text.hs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ scanStringLiteral ok err bs0 = go 0 bs0 where
Just (_, bs') -> goEsc (n + 1) bs'

errEnd = err "Unexpected end-of-input while parsing string literal"
errCC = err "Unespected control character while parsing string literal"
errCC = err "Unexpected control character while parsing string literal"

-------------------------------------------------------------------------------
-- Number
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TkArrayOpen
TkItem
TkErr "Unespected control character while parsing string literal"
TkErr "Unexpected control character while parsing string literal"
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TkArrayOpen
TkItem
TkErr "Unespected control character while parsing string literal"
TkErr "Unexpected control character while parsing string literal"
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TkArrayOpen
TkItem
TkErr "Unespected control character while parsing string literal"
TkErr "Unexpected control character while parsing string literal"
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TkArrayOpen
TkItem
TkErr "Unespected control character while parsing string literal"
TkErr "Unexpected control character while parsing string literal"
2 changes: 1 addition & 1 deletion tests/JSONTestSuite/results/n_string_unescaped_newline.tok
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TkArrayOpen
TkItem
TkErr "Unespected control character while parsing string literal"
TkErr "Unexpected control character while parsing string literal"
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TkArrayOpen
TkItem
TkErr "Unespected control character while parsing string literal"
TkErr "Unexpected control character while parsing string literal"
2 changes: 1 addition & 1 deletion tests/JSONTestSuite/results/n_string_unescaped_tab.tok
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TkArrayOpen
TkItem
TkErr "Unespected control character while parsing string literal"
TkErr "Unexpected control character while parsing string literal"
2 changes: 1 addition & 1 deletion tests/JSONTestSuite/results/n_string_unescaped_tab.ttok
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TkArrayOpen
TkItem
TkErr "Unespected control character while parsing string literal"
TkErr "Unexpected control character while parsing string literal"
Loading