Skip to content

Commit

Permalink
Review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodigrim committed Sep 29, 2023
1 parent cfb3773 commit 5ea3f65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Data/ByteString/Internal/Type.hs
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ packConstr :: Constr
packConstr = mkConstr byteStringDataType "pack" [] Prefix

byteStringDataType :: DataType
byteStringDataType = mkDataType "Data.ByteString" [packConstr]
byteStringDataType = mkDataType "Data.ByteString.ByteString" [packConstr]

-- | @since 0.11.2.0
instance TH.Lift ByteString where
Expand Down
2 changes: 1 addition & 1 deletion tests/Properties/ByteString.hs
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ tests =
, testProperty "toConstr is pack" $
\(x :: BYTESTRING_TYPE) -> showConstr (toConstr x) === "pack"
#ifndef BYTESTRING_CHAR8
, testProperty "gshow \"A\"" $
, testProperty "gshow" $
\x -> gshow x === "(pack " ++ gshow (B.unpack x) ++ ")"
#endif
, testProperty "gread . gshow = reads . show" $
Expand Down

0 comments on commit 5ea3f65

Please sign in to comment.