From 87f806972861193fb403d5b17faf1cb77705418b Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Wed, 21 Dec 2022 21:14:21 +0200 Subject: [PATCH] ci: fix warnings for compiling builder_test.v too --- vlib/v/builder/builder_test.v | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/vlib/v/builder/builder_test.v b/vlib/v/builder/builder_test.v index 425106f8df..cbfc9d077f 100644 --- a/vlib/v/builder/builder_test.v +++ b/vlib/v/builder/builder_test.v @@ -15,7 +15,7 @@ fn testsuite_end() { } fn test_conditional_executable_removal() { - os.chdir(test_path)? + os.chdir(test_path)! os.execute_or_exit('${os.quoted_path(vexe)} init') mut executable := 'run_check' @@ -23,23 +23,23 @@ fn test_conditional_executable_removal() { executable += '.exe' } - original_file_list_ := os.ls(test_path)? + original_file_list_ := os.ls(test_path)! dump(original_file_list_) assert executable !in original_file_list_ assert os.execute('${os.quoted_path(vexe)} run .').output.trim_space() == 'Hello World!' - after_run_file_list := os.ls(test_path)? + after_run_file_list := os.ls(test_path)! dump(after_run_file_list) assert executable !in after_run_file_list assert os.execute('${os.quoted_path(vexe)} .').exit_code == 0 assert os.execute('./${executable}').output.trim_space() == 'Hello World!' - after_compilation__ := os.ls(test_path)? + after_compilation__ := os.ls(test_path)! dump(after_compilation__) assert executable in after_compilation__ assert os.execute('${os.quoted_path(vexe)} run .').output.trim_space() == 'Hello World!' - after_second_run___ := os.ls(test_path)? + after_second_run___ := os.ls(test_path)! dump(after_second_run___) assert executable in after_second_run___ }