about summary refs log tree commit diff
path: root/third_party/bazel/rules_haskell/tests/external-haskell-repository/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/bazel/rules_haskell/tests/external-haskell-repository/Main.hs')
-rw-r--r--third_party/bazel/rules_haskell/tests/external-haskell-repository/Main.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/third_party/bazel/rules_haskell/tests/external-haskell-repository/Main.hs b/third_party/bazel/rules_haskell/tests/external-haskell-repository/Main.hs
new file mode 100644
index 000000000000..97fcc158880a
--- /dev/null
+++ b/third_party/bazel/rules_haskell/tests/external-haskell-repository/Main.hs
@@ -0,0 +1,6 @@
+module Main where
+
+import AddOne
+import Control.Exception (assert)
+
+main = assert (addOne 41 == 42) $ return ()