Skip to content

A peer-to-peer stack for code collaboration

Explicit exports for 'Radicle.Internal.TestCapabilities'

Thomas Scholtes82d02d3f0f7e
diff --git a/.weeder.yaml b/.weeder.yaml
index a13393d..bd70218 100644
--- a/.weeder.yaml
+++ b/.weeder.yaml
@@ -30,12 +30,6 @@
- message:
# BEGIN export all for ease of debugging
- name: Weeds exported
- - module:
- - name: Radicle.Internal.TestCapabilities
- - identifier:
- - TestLang
- - runTestWith'
- - storagePrimFns
- module:
- name: Radicle.Tests
- identifier:
diff --git a/test/spec/Radicle/Internal/TestCapabilities.hs b/test/spec/Radicle/Internal/TestCapabilities.hs
index 0ef7289..52a6c84 100644
--- a/test/spec/Radicle/Internal/TestCapabilities.hs
+++ b/test/spec/Radicle/Internal/TestCapabilities.hs
@@ -1,6 +1,13 @@
-- | This module defines instances for the classes in
-- Radicle.Internal.Subscriber.Capabilities that may be used for testing.
-module Radicle.Internal.TestCapabilities where
+module Radicle.Internal.TestCapabilities (
+ sourceFiles
+ , runTestWithFiles
+ , runTest
+ , testBindings
+ , runTest'
+ , runTestWith
+ ) where
import Protolude hiding (TypeError)
@@ -64,13 +71,6 @@ runTestWith
-> IO (Either (LangError Value) Value, [Text])
runTestWith bindings inputs action = runTestWithFiles bindings inputs mempty action
--- | Like `runTestWith`, but uses the pureEnv
-runTestWith'
- :: [Text]
- -> Text
- -> (Either (LangError Value) Value, [Text])
-runTestWith' a b = unsafePerformIO $ runTestWith pureEnv a b
-
-- | Run a test without stdin/stdout
runTest
:: Bindings (PrimFns (StateT WorldState IO))