fix tests
parent
3dae1cc131
commit
5a0bfa03b3
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
}
|
||||
*/
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ interface Speaker {
|
|||
say()string
|
||||
}
|
||||
|
||||
fn todo() {}
|
||||
fn test_todo() {}
|
||||
|
||||
/*
|
||||
// QTODO
|
||||
|
|
Loading…
Reference in New Issue