Skip to content

Commit d95811a

Browse files
isovectorandreabedini
authored andcommitted
add test
1 parent 3dc057f commit d95811a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

tests/Tests.hs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ main = do
3939
built <- BL.readFile "_repo/package/pkg-a-2.3.4.5/pkg-a.cabal"
4040
built @?= revised
4141

42+
step "Running latest package checks"
43+
specificHtml <- BL.readFile "_repo/package/pkg-a-2.3.4.5/index.html"
44+
latestHtml <- BL.readFile "_repo/package/pkg-a/index.html"
45+
latestHtml @?= specificHtml
46+
4247
step "Running tarball checks"
4348
withTarball "_repo/01-index.tar" $ \TarballAccessFn{lookupEntry} -> do
4449
lookupEntry "pkg-a/2.3.4.5/pkg-a.cabal" >>= \case

0 commit comments

Comments
 (0)