Skip to content

Commit

Permalink
Fix smoke tests
Browse files Browse the repository at this point in the history
  • Loading branch information
paulcadman committed Jun 25, 2024
1 parent ff98ad2 commit 68dcd72
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ tests:
module HelloDep;
import Stdlib.Prelude open;
import HelloDep2 open;
main : IO := printStringLn "Hello from dep1" >> printStringLn hello;
main : IO := printStringLn "Hello from dep1" >>> printStringLn hello;
EOF
cat <<-EOF > Package.juvix
Expand Down Expand Up @@ -352,7 +352,7 @@ tests:
module HelloDep;
import HelloDep2 open;
import Stdlib.Prelude open;
main : IO := printStringLn "This is from the second commit" >> printStringLn hello;
main : IO := printStringLn "This is from the second commit" >>> printStringLn hello;
EOF
git add -A
Expand Down Expand Up @@ -607,7 +607,7 @@ tests:
module HelloDep;
import Stdlib.Prelude open;
import HelloDep2 open;
main : IO := printStringLn "Hello from dep1" >> printStringLn hello;
main : IO := printStringLn "Hello from dep1" >>> printStringLn hello;
EOF
cat <<-EOF > Package.juvix
Expand Down
6 changes: 3 additions & 3 deletions tests/smoke/Commands/compile-dependencies.smoke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ tests:
module HelloDep;
import Stdlib.Prelude open;
import HelloDep2 open;
main : IO := printStringLn "Hello from dep1" >> printStringLn hello;
main : IO := printStringLn "Hello from dep1" >>> printStringLn hello;
EOF
cat <<-EOF > juvix.yaml
Expand Down Expand Up @@ -328,7 +328,7 @@ tests:
module HelloDep;
import HelloDep2 open;
import Stdlib.Prelude open;
main : IO := printStringLn "This is from the second commit" >> printStringLn hello;
main : IO := printStringLn "This is from the second commit" >>> printStringLn hello;
EOF
git add -A
Expand Down Expand Up @@ -571,7 +571,7 @@ tests:
module HelloDep;
import Stdlib.Prelude open;
import HelloDep2 open;
main : IO := printStringLn "Hello from dep1" >> printStringLn hello;
main : IO := printStringLn "Hello from dep1" >>> printStringLn hello;
EOF
cat <<-EOF > juvix.yaml
Expand Down
2 changes: 1 addition & 1 deletion tests/smoke/Commands/dev/repl.smoke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ tests:
- repl
args:
- positive/issue1731/builtinTrace.juvix
stdin: trace 2 >>> printNatLn 3
stdin: trace 2 >-> printNatLn 3
stdout:
contains: |
3
Expand Down
10 changes: 5 additions & 5 deletions tests/smoke/Commands/repl.smoke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,23 +71,23 @@ tests:
- juvix
- repl
- ../examples/milestone/HelloWorld/HelloWorld.juvix
stdin: ":def >> (>>) (((>>)))"
stdin: ":def >>> (>>>) (((>>>)))"
stdout:
contains: |
builtin IO-sequence
axiom >> : IO → IO → IO
axiom >>> : IO → IO → IO
exit-status: 0

- name: repl-def-infix
command:
- juvix
- repl
- ../examples/milestone/HelloWorld/HelloWorld.juvix
stdin: ":def >>"
stdin: ":def >>>"
stdout:
contains: |
builtin IO-sequence
axiom >> : IO → IO → IO
axiom >>> : IO → IO → IO
exit-status: 0

- name: open
Expand Down Expand Up @@ -295,7 +295,7 @@ tests:
- repl
args:
- positive/issue1731/builtinTrace.juvix
stdin: trace 2 >>> printNatLn 3
stdin: trace 2 >-> printNatLn 3
stdout:
contains: |
3
Expand Down

0 comments on commit 68dcd72

Please sign in to comment.