Skip to content

Commit 7ec90b0

Browse files
committed
pref: fix is_test
1 parent c7a6d28 commit 7ec90b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vlib/v/pref/default.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ pub fn (mut p Preferences) fill_with_defaults() {
9393
}
9494
p.find_cc_if_cross_compiling()
9595
p.ccompiler_type = cc_from_string(p.ccompiler)
96-
p.is_test = p.path.ends_with('_test.v') || p.path.ends_with('.vv') || p.path.ends_with('.vv')
96+
p.is_test = p.path.ends_with('_test.v') || p.path.ends_with('_test.vv')
9797
|| p.path.all_before_last('.v').all_before_last('.').ends_with('_test')
9898
p.is_vsh = p.path.ends_with('.vsh')
9999
p.is_script = p.is_vsh || p.path.ends_with('.v') || p.path.ends_with('.vv')

0 commit comments

Comments
 (0)