fix tests

pull/4177/head
Alexander Medvednikov 2020-04-01 15:39:54 +02:00
parent 3dae1cc131
commit 5a0bfa03b3
3 changed files with 8 additions and 5 deletions

View File

@ -141,6 +141,9 @@ jobs:
../../vprod -backend x64 -o 1m 1m.v
echo "Running it..."
ls
# - name: SDL examples
# run: git clone --depth 1 https://github.com/vlang/sdl && cd sdl
# ./1m
#run: echo "TODO" #cd examples/x64 && ../../v -x64 hello_world.v && ./hello_world
# - name: Coveralls GitHub Action

View File

@ -1,5 +1,5 @@
fn test_todo() {}
fn todo() {}
/*
// QTODO
fn simple<T>(p T) T {
@ -127,10 +127,10 @@ fn new_repo<U>(db DB) Repo<U> {
fn test_generic_struct() {
mut a := new_repo<User>(DB{})
a.model.name = 'joe'
mut b := Repo<User>{db: DB{}}
mut b := Repo<User>{db: DB{}
}
b.model.name = 'joe'
assert a.model.name == 'joe'
assert b.model.name == 'joe'
}
*/

View File

@ -1,10 +1,10 @@
module main
interface Speaker {
say() string
say()string
}
fn todo() {}
fn test_todo() {}
/*
// QTODO