Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
L-TChen committed Aug 18, 2023
1 parent a16cfd9 commit bbed799
Show file tree
Hide file tree
Showing 22 changed files with 32 additions and 20 deletions.
1 change: 1 addition & 0 deletions Cabal-tests/tests/ParserTests/ipi/Includes2.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ package-name: Includes2
lib-name: mylib
key: Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n
license: BSD3
license-files: LICENSE
maintainer: [email protected]
author: Edward Z. Yang
exposed: False
Expand Down
1 change: 1 addition & 0 deletions Cabal-tests/tests/ParserTests/ipi/Includes2.expr
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ InstalledPackageInfo {
compatPackageKey =
"Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n",
license = Right BSD3,
licenseFiles = ["LICENSE"],
copyright = "",
maintainer =
"[email protected]",
Expand Down
1 change: 1 addition & 0 deletions Cabal-tests/tests/ParserTests/ipi/Includes2.format
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ id: Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n
instantiated-with: Database=Includes2-0.1.0.0-inplace-mysql:Database.MySQL
key: Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n
license: BSD3
license-files: LICENSE
maintainer: [email protected]
author: Edward Z. Yang
abi: inplace
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ version: 0.1.0.0
id: internal-preprocessor-test-0.1.0.0
key: internal-preprocessor-test-0.1.0.0
license: GPL-3
license-files: LICENSE
maintainer: [email protected]
synopsis: Internal custom preprocessor example.
description:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ InstalledPackageInfo {
"internal-preprocessor-test-0.1.0.0",
license = Right
(GPL (Just (mkVersion [3]))),
licenseFiles = ["LICENSE"],
copyright = "",
maintainer =
"[email protected]",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ visibility: public
id: internal-preprocessor-test-0.1.0.0
key: internal-preprocessor-test-0.1.0.0
license: GPL-3
license-files: LICENSE
maintainer: [email protected]
author: Mikhail Glushenkov
synopsis: Internal custom preprocessor example.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ version: 0.5.2.0
id: transformers-0.5.2.0
key: transformers-0.5.2.0
license: BSD3
license-files: LICENSE
maintainer: Ross Paterson <[email protected]>
synopsis: Concrete functor and monad transformers
description:
Expand Down
1 change: 1 addition & 0 deletions Cabal-tests/tests/ParserTests/ipi/issue-2276-ghc-9885.expr
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ InstalledPackageInfo {
compatPackageKey =
"transformers-0.5.2.0",
license = Right BSD3,
licenseFiles = ["LICENSE"],
copyright = "",
maintainer =
"Ross Paterson <[email protected]>",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ visibility: public
id: transformers-0.5.2.0
key: transformers-0.5.2.0
license: BSD3
license-files: LICENSE
maintainer: Ross Paterson <[email protected]>
author: Andy Gill, Ross Paterson
synopsis: Concrete functor and monad transformers
Expand Down
1 change: 1 addition & 0 deletions Cabal-tests/tests/ParserTests/ipi/transformers.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ version: 0.5.2.0
id: transformers-0.5.2.0
key: transformers-0.5.2.0
license: BSD3
license-files: LICENSE
maintainer: Ross Paterson <[email protected]>
synopsis: Concrete functor and monad transformers
description:
Expand Down
1 change: 1 addition & 0 deletions Cabal-tests/tests/ParserTests/ipi/transformers.expr
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ InstalledPackageInfo {
compatPackageKey =
"transformers-0.5.2.0",
license = Right BSD3,
licenseFiles = ["LICENSE"],
copyright = "",
maintainer =
"Ross Paterson <[email protected]>",
Expand Down
1 change: 1 addition & 0 deletions Cabal-tests/tests/ParserTests/ipi/transformers.format
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ visibility: public
id: transformers-0.5.2.0
key: transformers-0.5.2.0
license: BSD3
license-files: LICENSE
maintainer: Ross Paterson <[email protected]>
author: Andy Gill, Ross Paterson
synopsis: Concrete functor and monad transformers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cabal-version: >=1.8
name: Octree
version: 0.5
license: BSD3
license-file: LICENSE
license-files: LICENSE
copyright: Copyright by Michal J. Gajda '2012
maintainer: [email protected]
author: Michal J. Gajda
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cabal-version: >=1.10
name: generics-sop
version: 0.3.1.0
license: BSD3
license-file: LICENSE
license-files: LICENSE
maintainer: [email protected]
author:
Edsko de Vries <[email protected]>, Andres Löh <[email protected]>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cabal-version: 2.2
name: jaeger-flamegraph
version: 1.0.0
license: BSD-3-Clause
license-file: LICENSE
license-files: LICENSE
copyright: (c) 2018 Symbiont.io
maintainer: Sam Halliday
author: Sam Halliday
Expand Down
2 changes: 1 addition & 1 deletion Cabal-tests/tests/ParserTests/regressions/libpq1.format
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cabal-version: >=1.8
name: postgresql-libpq
version: 0.9.4.2
license: BSD3
license-file: LICENSE
license-files: LICENSE
copyright:
(c) 2010 Grant Monroe
(c) 2011 Leon P Smith
Expand Down
2 changes: 1 addition & 1 deletion Cabal-tests/tests/ParserTests/regressions/libpq2.format
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cabal-version: 3.0
name: postgresql-libpq
version: 0.9.4.2
license: BSD-3-Clause
license-file: LICENSE
license-files: LICENSE
copyright:
(c) 2010 Grant Monroe
(c) 2011 Leon P Smith
Expand Down
22 changes: 11 additions & 11 deletions Cabal-tests/tests/ParserTests/regressions/monad-param.format
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
monad-param.cabal:19:1: Tabs used as indentation at 19:1, 20:1
name: monad-param
version: 0.0.1
license: BSD3
license-file: LICENSE
copyright: Copyright (C) 2006-2007, Edward Kmett
maintainer: Edward Kmett <[email protected]>
author: Edward Kmett <[email protected]>
stability: alpha
name: monad-param
version: 0.0.1
license: BSD3
license-files: LICENSE
copyright: Copyright (C) 2006-2007, Edward Kmett
maintainer: Edward Kmett <[email protected]>
author: Edward Kmett <[email protected]>
stability: alpha
homepage:
http://comonad.com/haskell/monad-param/dist/doc/html/Control-Monad-Parameterized.html

package-url: http://comonad.com/haskell/monad-param
synopsis: Parameterized monads
package-url: http://comonad.com/haskell/monad-param
synopsis: Parameterized monads
description:
Implements parameterized monads by overloading the monad sugar with more liberal types.

category: Control
category: Control

library
exposed-modules: Control.Monad.Parameterized
Expand Down
2 changes: 1 addition & 1 deletion Cabal-tests/tests/ParserTests/regressions/shake.format
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cabal-version: 1.18
name: shake
version: 0.15.11
license: BSD3
license-file: LICENSE
license-files: LICENSE
copyright: Neil Mitchell 2011-2017
maintainer: Neil Mitchell <[email protected]>
author: Neil Mitchell <[email protected]>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cabal-version: >=1.10
name: th-lift-instances
version: 0.1.4
license: BSD3
license-file: LICENSE
license-files: LICENSE
copyright: Copyright (C) 2013-2014 Benno Fünfstück
maintainer: Benno Fünfstück <[email protected]>
author: Benno Fünfstück
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cabal-version: >=1.6
name: wl-pprint-indef
version: 1.2
license: BSD3
license-file: LICENSE
license-files: LICENSE
maintainer: Noam Lewis <[email protected]>
author: Daan Leijen
synopsis: The Wadler/Leijen Pretty Printer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ tests = testGroup "Distribution.Utils.Structured"
, testCase "GenericPackageDescription" $
md5Check (Proxy :: Proxy GenericPackageDescription) 0xedd391339de1201511636bbb563fa5db
, testCase "LocalBuildInfo" $
md5Check (Proxy :: Proxy LocalBuildInfo) 0x40253e3699453643336bdc7911717af0
md5Check (Proxy :: Proxy LocalBuildInfo) 0x70da7ec48f751a73d4958e5fc0bbd25e
#endif
]

Expand Down

0 comments on commit bbed799

Please sign in to comment.