Skip to content
This repository has been archived by the owner on Apr 1, 2022. It is now read-only.

Parse text instead of number #175

Merged
merged 1 commit into from
Dec 19, 2020
Merged
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/Strategy/Go/GlideLock.hs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ buildGraph lockfile = Graphing.fromList (map toDependency direct)
}

data GlideLockfile = GlideLockfile
{ hash :: Integer
{ hash :: Text
, updated :: Text
, imports :: [GlideDep]
} deriving (Eq, Ord, Show)
Expand Down
2 changes: 1 addition & 1 deletion test/Go/GlideLockSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ expected = run . evalGrapher $ do

glideLockfile :: GlideLockfile
glideLockfile =
GlideLockfile { hash = 123
GlideLockfile { hash = "123"
, updated = "now"
, imports =
[ GlideDep
Expand Down
2 changes: 1 addition & 1 deletion test/Go/testdata/glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.