diff --git a/cmd/tools/vtest-all.v b/cmd/tools/vtest-all.v index 2f8e4df368..bf15896bd1 100644 --- a/cmd/tools/vtest-all.v +++ b/cmd/tools/vtest-all.v @@ -117,7 +117,7 @@ fn get_all_commands() []Command { line: '${vexe} -o calling_c.exe run examples/call_c_from_v/main.c.v' okmsg: 'V can run main.c.v files' runcmd: .execute - contains: 'V can call C functions like puts too.' + contains: 'V can call C functions like `puts` too.' } $if linux || macos { res << Command{ diff --git a/vlib/v/builder/builder_test.v b/vlib/v/builder/builder_test.v index 44c58b3f03..913eaa00ad 100644 --- a/vlib/v/builder/builder_test.v +++ b/vlib/v/builder/builder_test.v @@ -17,7 +17,8 @@ fn testsuite_end() { fn test_conditional_executable_removal() { os.chdir(test_path)! - os.execute_or_exit('${os.quoted_path(vexe)} init') + os.mkdir_all('src')! + os.write_file('src/main.v', 'fn main(){\n\tprintln("Hello World!")\n}\n')! mut executable := 'run_check' $if windows {