Skip to content

Commit

Permalink
Use hpack-0.36.0 in tests
Browse files Browse the repository at this point in the history
- Regenerate .cabal files
- Regenerate .yaml files
- Regenerate .cabal.golden files
- Normalize file endings in golden tests
  • Loading branch information
philderbeast committed Jun 4, 2024
1 parent 70e940d commit c67a9c4
Show file tree
Hide file tree
Showing 48 changed files with 48 additions and 60 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
cabal-version: 1.12

-- This file has been generated from package.dhall by hpack version 0.31.0.
-- This file has been generated from package.dhall by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: 9f10239d716ef4564587e29b36c0e3b74056721733790211e20061a86a0feb53

name: empty-inferred
version: 0.0.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
cabal-version: 1.12

-- This file has been generated from package.dhall by hpack version 0.31.0.
-- This file has been generated from package.dhall by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: 9f10239d716ef4564587e29b36c0e3b74056721733790211e20061a86a0feb53

name: empty-inferred
version: 0.0.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{}
{}
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
{}

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.35.0.
-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack

Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
{}

4 changes: 1 addition & 3 deletions test-suite-golden/test-files/key/empty-package.cabal
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
cabal-version: 1.12

-- This file has been generated from empty-package.dhall by hpack version 0.31.0.
-- This file has been generated from empty-package.dhall by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: e0a74f511d829cae53cd712664781db312951dd773249603163ba1b1e32afd04

name: empty-package
version: 0.0.0
Expand Down
4 changes: 1 addition & 3 deletions test-suite-golden/test-files/key/empty-package.cabal.golden
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
cabal-version: 1.12

-- This file has been generated from empty-package.dhall by hpack version 0.31.0.
-- This file has been generated from empty-package.dhall by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: e0a74f511d829cae53cd712664781db312951dd773249603163ba1b1e32afd04

name: empty-package
version: 0.0.0
Expand Down
2 changes: 1 addition & 1 deletion test-suite-golden/test-files/key/empty-package.json.golden
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"name": "empty-package"
}
}
1 change: 1 addition & 0 deletions test-suite-golden/test-files/key/empty-package.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
name: empty-package

2 changes: 1 addition & 1 deletion test-suite-golden/test-files/key/empty-package.yaml.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 1.12

-- This file has been generated from empty-package.yaml by hpack version 0.35.0.
-- This file has been generated from empty-package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack

Expand Down
1 change: 1 addition & 0 deletions test-suite-golden/test-files/key/empty-package.yaml.golden
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
name: empty-package

Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
cabal-version: 1.12

-- This file has been generated from package.dhall by hpack version 0.31.0.
-- This file has been generated from package.dhall by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: fb3f09267f149cb49eb030ac951c27be9964aa0d51e91460e5b2d59ee1a5082f

name: import-local
version: 0.0.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
cabal-version: 1.12

-- This file has been generated from package.dhall by hpack version 0.31.0.
-- This file has been generated from package.dhall by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: fb3f09267f149cb49eb030ac951c27be9964aa0d51e91460e5b2d59ee1a5082f

name: import-local
version: 0.0.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"name": "import-local"
}
}
1 change: 1 addition & 0 deletions test-suite-golden/test-files/key/import-local/package.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
name: import-local

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.35.0.
-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack

Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
name: import-local

Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
cabal-version: 1.12

-- This file has been generated from package.dhall by hpack version 0.31.0.
-- This file has been generated from package.dhall by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: 989056d21c3910e06ec15967716df134a39f43c561858afff828d22802a22005

name: import-relative
version: 0.0.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
cabal-version: 1.12

-- This file has been generated from package.dhall by hpack version 0.31.0.
-- This file has been generated from package.dhall by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: 989056d21c3910e06ec15967716df134a39f43c561858afff828d22802a22005

name: import-relative
version: 0.0.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"name": "import-relative"
}
}
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
name: import-relative

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.35.0.
-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack

Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
name: import-relative

4 changes: 1 addition & 3 deletions test-suite-golden/test-files/key/when-dependencies.cabal
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
cabal-version: 1.12

-- This file has been generated from when-dependencies.dhall by hpack version 0.31.1.
-- This file has been generated from when-dependencies.dhall by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: a1d315a919b697e7986a0c149715373427427e43104f82f05f394a439793907f

name: when-dependencies
version: 0.0.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
cabal-version: 1.12

-- This file has been generated from when-dependencies.dhall by hpack version 0.31.1.
-- This file has been generated from when-dependencies.dhall by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: a1d315a919b697e7986a0c149715373427427e43104f82f05f394a439793907f

name: when-dependencies
version: 0.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
]
}
}
}
}
1 change: 1 addition & 0 deletions test-suite-golden/test-files/key/when-dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ when:
dependencies:
- base == 4.*
- yaml-pretty-extras

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 1.12

-- This file has been generated from when-dependencies.yaml by hpack version 0.35.0.
-- This file has been generated from when-dependencies.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ when:
dependencies:
- base == 4.*
- yaml-pretty-extras

2 changes: 1 addition & 1 deletion test-suite-golden/test-files/key/with-GHC2021.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 1.12

-- This file has been generated from with-GHC2021.dhall by hpack version 0.34.6.
-- This file has been generated from with-GHC2021.dhall by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack

Expand Down
2 changes: 1 addition & 1 deletion test-suite-golden/test-files/key/with-GHC2021.cabal.golden
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 1.12

-- This file has been generated from with-GHC2021.dhall by hpack version 0.34.6.
-- This file has been generated from with-GHC2021.dhall by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack

Expand Down
2 changes: 1 addition & 1 deletion test-suite-golden/test-files/key/with-GHC2021.json.golden
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@
"main": "Main.hs",
"source-dirs": "src"
}
}
}
1 change: 1 addition & 0 deletions test-suite-golden/test-files/key/with-GHC2021.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,4 @@ default-extensions:
executable:
main: Main.hs
source-dirs: src

2 changes: 1 addition & 1 deletion test-suite-golden/test-files/key/with-GHC2021.yaml.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 1.12

-- This file has been generated from with-GHC2021.yaml by hpack version 0.35.0.
-- This file has been generated from with-GHC2021.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack

Expand Down
1 change: 1 addition & 0 deletions test-suite-golden/test-files/key/with-GHC2021.yaml.golden
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,4 @@ default-extensions:
executable:
main: Main.hs
source-dirs: src

4 changes: 1 addition & 3 deletions test-suite-golden/test-files/real-world/hpack/hpack.cabal
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
cabal-version: 1.12

-- This file has been generated from hpack.dhall by hpack version 0.31.0.
-- This file has been generated from hpack.dhall by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: 6233d5bc3d8cc3400d64ab30856182d4a593d9245bfdd5096e1287213cc3ae31

name: hpack
version: 0.31.1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
cabal-version: 1.12

-- This file has been generated from hpack.dhall by hpack version 0.31.0.
-- This file has been generated from hpack.dhall by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: 6233d5bc3d8cc3400d64ab30856182d4a593d9245bfdd5096e1287213cc3ae31

name: hpack
version: 0.31.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@
"build-tools": "hspec-discover"
}
}
}
}
1 change: 1 addition & 0 deletions test-suite-golden/test-files/real-world/hpack/hpack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,4 @@ tests:
- template-haskell
- HUnit >= 1.6.0.0
build-tools: hspec-discover

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 1.12

-- This file has been generated from hpack.yaml by hpack version 0.35.0.
-- This file has been generated from hpack.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,4 @@ tests:
- template-haskell
- HUnit >= 1.6.0.0
build-tools: hspec-discover

4 changes: 1 addition & 3 deletions test-suite-golden/test-files/real-world/stack/stack.cabal
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
cabal-version: 2.0

-- This file has been generated from stack.dhall by hpack version 0.35.0.
-- This file has been generated from stack.dhall by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: 645c43bbed2e4ee44172441652f686f9df4f80fe34991062b018c2410e276567

name: stack
version: 1.10.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
cabal-version: 2.0

-- This file has been generated from stack.dhall by hpack version 0.35.0.
-- This file has been generated from stack.dhall by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: 645c43bbed2e4ee44172441652f686f9df4f80fe34991062b018c2410e276567

name: stack
version: 1.10.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -407,4 +407,4 @@
]
}
}
}
}
1 change: 1 addition & 0 deletions test-suite-golden/test-files/real-world/stack/stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -356,3 +356,4 @@ tests:
- hspec
- stack
- smallcheck

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.0

-- This file has been generated from stack.yaml by hpack version 0.35.0.
-- This file has been generated from stack.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -356,3 +356,4 @@ tests:
- hspec
- stack
- smallcheck

0 comments on commit c67a9c4

Please sign in to comment.