mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
repl: enabled back and added automated tests
fixed typos and macos errors
This commit is contained in:

committed by
Alexander Medvednikov

parent
fdb1433c24
commit
7879bde8bb
14
compiler/tests/repl/README.md
Normal file
14
compiler/tests/repl/README.md
Normal file
@ -0,0 +1,14 @@
|
||||
# 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
|
Reference in New Issue
Block a user