1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/compiler/tests/repl
2019-08-18 17:24:02 +03:00
..
arr_decl.repl repl: enabled back and added automated tests 2019-08-10 07:01:40 +02:00
default_printing.repl repl: default printing fix and test 2019-08-12 16:19:56 +03:00
error.repl repl: fix compiler/tests/repl/error.repl test case. 2019-08-18 17:24:02 +03:00
interpolation.repl repl: enabled back and added automated tests 2019-08-10 07:01:40 +02:00
multiple_decl.repl repl: enabled back and added automated tests 2019-08-10 07:01:40 +02:00
multiple_println.repl repl: enabled back and added automated tests 2019-08-10 07:01:40 +02:00
newlines.repl repl: enabled back and added automated tests 2019-08-10 07:01:40 +02:00
nothing.repl repl: enabled back and added automated tests 2019-08-10 07:01:40 +02:00
println.repl repl: enabled back and added automated tests 2019-08-10 07:01:40 +02:00
README.md repl: enabled back and added automated tests 2019-08-10 07:01:40 +02:00
repl.sh repl: enabled back and added automated tests 2019-08-10 07:01:40 +02:00
var_decl.repl repl: enabled back and added automated tests 2019-08-10 07:01:40 +02:00

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