mirror of
https://github.com/vlang/v.git
synced 2025-09-14 06:52:36 +03:00
checker: do not allow arr1=arr2 without cloning
This commit is contained in:
parent
583c02316a
commit
6bf21c300a
5 changed files with 8 additions and 7 deletions
|
@ -296,7 +296,7 @@ pub fn prepare_test_session(zargs string, folder string, oskipped []string, main
|
|||
mut session := new_test_session(vargs)
|
||||
files := os.walk_ext(os.join_path(parent_dir, folder), '.v')
|
||||
mut mains := []string{}
|
||||
mut skipped := oskipped
|
||||
mut skipped := oskipped.clone()
|
||||
for f in files {
|
||||
if !f.contains('modules') && !f.contains('preludes') {
|
||||
// $if !linux {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue