We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7a6d28 commit 7ec90b0Copy full SHA for 7ec90b0
vlib/v/pref/default.v
@@ -93,7 +93,7 @@ pub fn (mut p Preferences) fill_with_defaults() {
93
}
94
p.find_cc_if_cross_compiling()
95
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')
+ p.is_test = p.path.ends_with('_test.v') || p.path.ends_with('_test.vv')
97
|| p.path.all_before_last('.v').all_before_last('.').ends_with('_test')
98
p.is_vsh = p.path.ends_with('.vsh')
99
p.is_script = p.is_vsh || p.path.ends_with('.v') || p.path.ends_with('.vv')
0 commit comments