Skip to content

Commit aed3de1

Browse files
committed
Make InvalidSnapshotNameError an instance of Eq
1 parent 3bd84fc commit aed3de1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Database/LSMTree/Internal/Paths.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ instance IsString SnapshotName where
104104

105105
data InvalidSnapshotNameError
106106
= ErrInvalidSnapshotName !String
107-
deriving stock (Show)
107+
deriving stock (Show, Eq)
108108
deriving anyclass (Exception)
109109

110110
-- | Check if a 'String' would be a valid snapshot name.

0 commit comments

Comments
 (0)