mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vtest: remove pub before main
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
module main
|
||||
|
||||
import (
|
||||
os
|
||||
os.cmdline
|
||||
testing
|
||||
)
|
||||
import os
|
||||
import os.cmdline
|
||||
import testing
|
||||
|
||||
pub fn main() {
|
||||
fn main() {
|
||||
args := os.args
|
||||
if args.last() == 'test' {
|
||||
println('Usage:')
|
||||
|
||||
Reference in New Issue
Block a user