mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tools: fix v new <name> web (#16738)
This commit is contained in:
parent
956b9f650c
commit
2ec6e2b209
1004
cmd/tools/vcreate.v
1004
cmd/tools/vcreate.v
File diff suppressed because it is too large
Load Diff
@ -13,7 +13,7 @@ fn init_and_check() ! {
|
||||
assert x.exit_code == 0
|
||||
assert x.output.trim_space() == 'Hello World!'
|
||||
|
||||
assert os.read_file('test_vcreate.v')! == [
|
||||
assert os.read_file('src/main.v')! == [
|
||||
'module main\n',
|
||||
'fn main() {',
|
||||
" println('Hello World!')",
|
||||
@ -51,6 +51,13 @@ fn init_and_check() ! {
|
||||
'.vscode/',
|
||||
'*.iml',
|
||||
'',
|
||||
'# ENV',
|
||||
'.env',
|
||||
'',
|
||||
'# vweb and database',
|
||||
'*.db',
|
||||
'*.js',
|
||||
'',
|
||||
].join_lines()
|
||||
|
||||
assert os.read_file('.gitattributes')! == [
|
||||
|
Loading…
Reference in New Issue
Block a user