v/compiler/tests/repl
joe-conigliaro 6921c15b7b compiler: fix repl chained_fields test (windows) 2019-09-03 18:42:40 +03:00
..
.gitattributes
README.md
arr_decl.repl
chained_fields.repl
conditional_blocks.repl
default_printing.repl
error.repl
error_nosave.repl
function.repl
interpolation.repl
multiple_decl.repl
multiple_println.repl
naked_strings.repl
newlines.repl
nothing.repl
println.repl
repl_test.v
var_decl.repl

README.md

V REPL Tests Script

How to write a new test

  • Create a new file named *.repl
  • Write the input to be given to REPL
  • Add ===output===
  • Write the output expected

Example :

a := 1
println(a)
===output===
1