Try to fix Unison tests
This commit is contained in:
parent
2835716541
commit
01f3d3648b
|
@ -2505,16 +2505,18 @@ a
|
||||||
name: "Unison",
|
name: "Unison",
|
||||||
setup: "shopt -s dotglob && cp -R /opt/unison/project-template/* ./",
|
setup: "shopt -s dotglob && cp -R /opt/unison/project-template/* ./",
|
||||||
repl: "unison -codebase .",
|
repl: "unison -codebase .",
|
||||||
input: "find : [a] -> [a]",
|
input: `DELAY: 3
|
||||||
|
find : [a] -> [a]`,
|
||||||
output: "base.List.reverse",
|
output: "base.List.reverse",
|
||||||
main: "main.u",
|
main: "main.u",
|
||||||
run: `echo "Type 'run main' to run the code." && unison -codebase .`,
|
run: `echo "Type 'run main' to run the code." && unison -codebase .`,
|
||||||
helloInput: "run main",
|
helloInput: `DELAY: 3
|
||||||
|
run main`,
|
||||||
scope: {
|
scope: {
|
||||||
code: `x = 123 * 234`,
|
code: `x = 123 * 234`,
|
||||||
input: `DELAY: 1
|
input: `DELAY: 3
|
||||||
add x
|
add x
|
||||||
DELAY: 0.5
|
DELAY: 3
|
||||||
display x`,
|
display x`,
|
||||||
},
|
},
|
||||||
template: `use io
|
template: `use io
|
||||||
|
@ -2523,6 +2525,7 @@ main : '{IO} ()
|
||||||
main = 'let
|
main = 'let
|
||||||
printLine "Hello, world!"
|
printLine "Hello, world!"
|
||||||
`,
|
`,
|
||||||
|
timeout: 15,
|
||||||
},
|
},
|
||||||
unlambda: {
|
unlambda: {
|
||||||
aliases: ["unl"],
|
aliases: ["unl"],
|
||||||
|
|
Loading…
Reference in New Issue