mirror of
https://github.com/vlang/v.git
synced 2025-09-16 07:52:32 +03:00
vlib: make ./v -Wimpure-v -W test vlib/
pass on Linux (#21554)
This commit is contained in:
parent
373b91cd68
commit
dbc6b50cda
46 changed files with 11278 additions and 222 deletions
|
@ -1,6 +1,11 @@
|
|||
import db.mysql
|
||||
|
||||
fn test_mysql() {
|
||||
$if !network ? {
|
||||
eprintln('> Skipping test ${@FN}, since `-d network` is not passed.')
|
||||
eprintln('> This test requires a working mysql server running on localhost.')
|
||||
return
|
||||
}
|
||||
config := mysql.Config{
|
||||
host: '127.0.0.1'
|
||||
port: 3306
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue