Skip to content

Commit

Permalink
Empty Validity PLATFORM_PATH instance
Browse files Browse the repository at this point in the history
  • Loading branch information
mmhat committed Jul 19, 2024
1 parent db0807f commit 9de73ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions path.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ test-suite validity-test-ospath
, os-string
, path
, validity >= 0.8.0.0
, validity-bytestring >=0.4.1.0
default-language: Haskell2010
ghc-options: -threaded -rtsopts -with-rtsopts=-N

Expand Down
4 changes: 2 additions & 2 deletions validity-test-ospath/OsPath/Gen/Include.hs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import OsPath.Internal.PLATFORM_NAME

import Data.GenValidity
import Data.Maybe (mapMaybe)
import Data.Validity.ByteString ()
import Data.Word (PLATFORM_WORD)
import System.OsPath.PLATFORM_NAME (PLATFORM_PATH)
import qualified System.OsPath.PLATFORM_NAME as OsPath
Expand Down Expand Up @@ -157,5 +158,4 @@ instance GenValid PLATFORM_PATH where
in
shrinkedWithDrive <> shrinkedWithoutDrive

instance Validity PLATFORM_PATH where
validate = trivialValidation -- TODO: Not yet implemented
instance Validity PLATFORM_PATH

0 comments on commit 9de73ab

Please sign in to comment.