Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Oct 9, 2023
1 parent 24710f4 commit 3295821
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions cmd/tools/vcreate/tests/new_with_model_arg.expect
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ set model [lindex $argv 2]

spawn $v_root/v new $project_name $model

expect "Input your project description: " { send "My Awesome V Project.\r" } timeout { exit 1 }
expect "Input your project version: (0.0.0) " { send "0.0.1\r" } timeout { exit 1 }
expect "Input your project license: (MIT) " { send "\r" } timeout { exit 1 }
expect "Initialising ..." {} timeout { exit 1 }
Expand Down
2 changes: 1 addition & 1 deletion cmd/tools/vcreate/vcreate_input_test.v
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ fn test_new_with_model_arg_input() {
return
}
assert mod.name == project_name
assert mod.description == model
assert mod.description == 'My Awesome V Project.'
assert mod.version == '0.0.1'
assert mod.license == 'MIT'
}
Expand Down

0 comments on commit 3295821

Please sign in to comment.