diff options
Diffstat (limited to 'v_windows/v/old/vlib/v/checker/tests/assert_optional_err.vv')
-rw-r--r-- | v_windows/v/old/vlib/v/checker/tests/assert_optional_err.vv | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/v_windows/v/old/vlib/v/checker/tests/assert_optional_err.vv b/v_windows/v/old/vlib/v/checker/tests/assert_optional_err.vv new file mode 100644 index 0000000..7036616 --- /dev/null +++ b/v_windows/v/old/vlib/v/checker/tests/assert_optional_err.vv @@ -0,0 +1,5 @@ +import os + +fn main(){ + assert os.truncate("testfile.txt", 6666) or { panic(err) } +} |