mirror of
https://github.com/thma/LtuPatternFactory.git
synced 2024-11-22 10:53:33 +03:00
fix tests
This commit is contained in:
parent
28a434670d
commit
f06bfd4f2e
2
.gitignore
vendored
2
.gitignore
vendored
@ -25,3 +25,5 @@ cabal.project.local~
|
||||
cabal.config
|
||||
out/
|
||||
*.lock
|
||||
*.txt
|
||||
*.json
|
@ -39,4 +39,4 @@ class (ToJSON a, FromJSON a, Typeable a) => Entity a where
|
||||
|
||||
-- | compute path of data file
|
||||
getPath :: TypeRep -> String -> String
|
||||
getPath tr id = ".stack-work/" ++ show tr ++ "." ++ id ++ ".json"
|
||||
getPath tr id = show tr ++ "." ++ id ++ ".json"
|
@ -38,4 +38,4 @@ class (Show a, Read a, Typeable a) => Entity a where
|
||||
|
||||
-- | compute path of data file
|
||||
getPath :: TypeRep -> String -> FilePath
|
||||
getPath tr id = ".stack-work/" ++ show tr ++ "." ++ id ++ ".txt"
|
||||
getPath tr id = show tr ++ "." ++ id ++ ".txt"
|
Loading…
Reference in New Issue
Block a user