mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
testing: do not allow fn main in tests and make sure there is at least one test fn
This commit is contained in:
@ -8,7 +8,7 @@ import (
|
||||
crypto.sha512 as s5
|
||||
)
|
||||
|
||||
pub fn main() {
|
||||
fn test_import() {
|
||||
assert os.SUCCESS == os.SUCCESS &&
|
||||
t.MonthDays[0] == t.MonthDays[0] &&
|
||||
s2.Size == s2.Size &&
|
||||
|
Reference in New Issue
Block a user