diff --git a/tests/runner/CompilerTests.idr b/tests/runner/CompilerTests.idr index e7ba9f1..b4afe23 100644 --- a/tests/runner/CompilerTests.idr +++ b/tests/runner/CompilerTests.idr @@ -7,6 +7,6 @@ import Test.Golden.RunnerHelper main : IO () main = do - _ <- MkRunScriptArg <$> idris2Command "idris2-go" + _ <- MkRunScriptArg . const <$> idris2Command "idris2-go" goldenRunner [ "Compile to Go" `atDir` "go" ] diff --git a/tests/runner/LibTests.idr b/tests/runner/LibTests.idr index d630e1a..ec4f342 100644 --- a/tests/runner/LibTests.idr +++ b/tests/runner/LibTests.idr @@ -7,6 +7,6 @@ import Test.Golden.RunnerHelper main : IO () main = do - _ <- MkRunScriptArg <$> idris2Command "idris2" + _ <- MkRunScriptArg . const <$> idris2Command "idris2" goldenRunner [ "Tour of Go" `atDir` "tour" ]