1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

tests: omit testsuite_begin/end() optional (#15871)

This commit is contained in:
yuyi
2022-09-25 15:29:25 +08:00
committed by GitHub
parent 947a1f2c65
commit c3548c9413
3 changed files with 6 additions and 6 deletions

View File

@@ -11,7 +11,7 @@ const (
test_os_process_source = os.join_path(vroot, 'cmd/tools/test_os_process.v')
)
fn testsuite_begin() ? {
fn testsuite_begin() {
os.rmdir_all(tfolder) or {}
os.mkdir_all(tfolder)?
if os.getenv('WINE_TEST_OS_PROCESS_EXE') != '' {
@@ -26,7 +26,7 @@ fn testsuite_begin() ? {
assert os.exists(test_os_process)
}
fn testsuite_end() ? {
fn testsuite_end() {
os.rmdir_all(tfolder) or {}
}