about summary refs log tree commit diff
path: root/third_party/bazel/rules_haskell/tests/encoding
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/bazel/rules_haskell/tests/encoding')
-rw-r--r--third_party/bazel/rules_haskell/tests/encoding/BUILD.bazel21
-rw-r--r--third_party/bazel/rules_haskell/tests/encoding/Main.hs8
-rw-r--r--third_party/bazel/rules_haskell/tests/encoding/TH.hs7
-rw-r--r--third_party/bazel/rules_haskell/tests/encoding/unicode.txt1
4 files changed, 0 insertions, 37 deletions
diff --git a/third_party/bazel/rules_haskell/tests/encoding/BUILD.bazel b/third_party/bazel/rules_haskell/tests/encoding/BUILD.bazel
deleted file mode 100644
index 588d13f6d0b7..000000000000
--- a/third_party/bazel/rules_haskell/tests/encoding/BUILD.bazel
+++ /dev/null
@@ -1,21 +0,0 @@
-load(
-    "@io_tweag_rules_haskell//haskell:haskell.bzl",
-    "haskell_test",
-)
-
-package(default_testonly = 1)
-
-haskell_test(
-    name = "encoding",
-    srcs = [
-        "Main.hs",
-        "TH.hs",
-    ],
-    extra_srcs = [
-        "unicode.txt",
-    ],
-    deps = [
-        "//tests/hackage:base",
-        "//tests/hackage:template-haskell",
-    ],
-)
diff --git a/third_party/bazel/rules_haskell/tests/encoding/Main.hs b/third_party/bazel/rules_haskell/tests/encoding/Main.hs
deleted file mode 100644
index beb5f2a29497..000000000000
--- a/third_party/bazel/rules_haskell/tests/encoding/Main.hs
+++ /dev/null
@@ -1,8 +0,0 @@
-{-# LANGUAGE TemplateHaskell #-}
-
-module Main (main) where
-
-import TH
-
-main :: IO ()
-main = putStrLn $foo
diff --git a/third_party/bazel/rules_haskell/tests/encoding/TH.hs b/third_party/bazel/rules_haskell/tests/encoding/TH.hs
deleted file mode 100644
index 8cb52b3f1139..000000000000
--- a/third_party/bazel/rules_haskell/tests/encoding/TH.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-module TH (foo) where
-
-import Language.Haskell.TH
-import Language.Haskell.TH.Syntax (lift)
-
-foo :: Q Exp
-foo = runIO (readFile "tests/encoding/unicode.txt") >>= lift
diff --git a/third_party/bazel/rules_haskell/tests/encoding/unicode.txt b/third_party/bazel/rules_haskell/tests/encoding/unicode.txt
deleted file mode 100644
index 74e5f2638d08..000000000000
--- a/third_party/bazel/rules_haskell/tests/encoding/unicode.txt
+++ /dev/null
@@ -1 +0,0 @@
-Некоторый текст на русском.