From 01f3d3648b85542f14f5fe0b657403f0286204e8 Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Wed, 26 Aug 2020 17:43:05 -0600 Subject: [PATCH] Try to fix Unison tests --- backend/src/langs.ts | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/backend/src/langs.ts b/backend/src/langs.ts index 8a77480..fcd16f7 100644 --- a/backend/src/langs.ts +++ b/backend/src/langs.ts @@ -2505,16 +2505,18 @@ a name: "Unison", setup: "shopt -s dotglob && cp -R /opt/unison/project-template/* ./", repl: "unison -codebase .", - input: "find : [a] -> [a]", + input: `DELAY: 3 +find : [a] -> [a]`, output: "base.List.reverse", main: "main.u", run: `echo "Type 'run main' to run the code." && unison -codebase .`, - helloInput: "run main", + helloInput: `DELAY: 3 +run main`, scope: { code: `x = 123 * 234`, - input: `DELAY: 1 + input: `DELAY: 3 add x -DELAY: 0.5 +DELAY: 3 display x`, }, template: `use io @@ -2523,6 +2525,7 @@ main : '{IO} () main = 'let printLine "Hello, world!" `, + timeout: 15, }, unlambda: { aliases: ["unl"],