From 82d1d6b982f8eac549d81b767df31832d216432c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gr=C3=B6ber?= Date: Mon, 28 Apr 2014 17:51:55 +0200 Subject: [PATCH] Add cabal file to `duplicate-pkgver` test data It's not really valid but enough to make ghc-mod happy, without it findCradle doesn't work properly and without the empty `library` sections it crashes even. --- test/data/duplicate-pkgver/duplicate-pkgver.cabal | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/data/duplicate-pkgver/duplicate-pkgver.cabal diff --git a/test/data/duplicate-pkgver/duplicate-pkgver.cabal b/test/data/duplicate-pkgver/duplicate-pkgver.cabal new file mode 100644 index 0000000..66adf53 --- /dev/null +++ b/test/data/duplicate-pkgver/duplicate-pkgver.cabal @@ -0,0 +1,7 @@ +name: duplicate-pkgver +version: 0.1.0 +build-type: Simple +cabal-version: >= 1.8 + +library + build-depends: base == 4.*