Skip to content
Snippets Groups Projects
Commit e4fb931e authored by f-a's avatar f-a Committed by Mergify
Browse files

(cabal check) Add "No 'version' field." test

parent 73e655ae
No related branches found
No related tags found
No related merge requests found
# cabal check
Warning: pkg.cabal:0:0: "version" field missing
Error: cabal: parse error
import Test.Cabal.Prelude
-- No version.
main = cabalTest $
fails $ cabal "check" []
cabal-version: 2.2
name: pkg
synopsis: synopsis
description: description
category: example
maintainer: none@example.com
license: GPL-3.0-or-later
library
exposed-modules: Foo
default-language: Haskell2010
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment