v/compiler/tests/repl
Delyan Angelov 77b31de117 compiler: produce errors in C "filepath:line:column:" format 2019-08-22 14:15:11 +03:00
..
README.md
arr_decl.repl
conditional_blocks.repl repl: functions and conditional blocks support 2019-08-18 22:50:38 +03:00
default_printing.repl tests: v implementation of repl tests 2019-08-18 19:26:55 +03:00
error.repl compiler: produce errors in C "filepath:line:column:" format 2019-08-22 14:15:11 +03:00
error_nosave.repl compiler: produce errors in C "filepath:line:column:" format 2019-08-22 14:15:11 +03:00
function.repl repl: functions and conditional blocks support 2019-08-18 22:50:38 +03:00
interpolation.repl
multiple_decl.repl
multiple_println.repl
newlines.repl
nothing.repl
println.repl
repl_test.v compiler: produce errors in C "filepath:line:column:" format 2019-08-22 14:15:11 +03:00
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