about summary refs log tree commit diff
path: root/third_party/bazel/rules_haskell/tests/package-name/BUILD.bazel
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/bazel/rules_haskell/tests/package-name/BUILD.bazel')
-rw-r--r--third_party/bazel/rules_haskell/tests/package-name/BUILD.bazel28
1 files changed, 0 insertions, 28 deletions
diff --git a/third_party/bazel/rules_haskell/tests/package-name/BUILD.bazel b/third_party/bazel/rules_haskell/tests/package-name/BUILD.bazel
deleted file mode 100644
index 9d187f083636..000000000000
--- a/third_party/bazel/rules_haskell/tests/package-name/BUILD.bazel
+++ /dev/null
@@ -1,28 +0,0 @@
-load(
-    "@io_tweag_rules_haskell//haskell:haskell.bzl",
-    "haskell_library",
-    "haskell_test",
-)
-
-# Tests around our use of package names.
-package(default_testonly = 1)
-
-haskell_library(
-    # The character "Z" should be untouched in the GHC package name.
-    # However, underscores (which are not legal) should be turned into dashes.
-    name = "lib-a_Z",
-    srcs = ["Lib.hs"],
-    version = "1.2.3.4",
-    deps = ["//tests/hackage:base"],
-)
-
-haskell_test(
-    name = "bin",
-    size = "small",
-    srcs = ["Main.hs"],
-    version = "0.0.0",  # This flags triggers the `MIN_VERSION` macro generation
-    deps = [
-        ":lib-a_Z",
-        "//tests/hackage:base",
-    ],
-)