all: change single blank comment to blank line (#22016)

This commit is contained in:
yuyi 2024-08-09 19:55:58 +08:00 committed by GitHub
parent 793b66d8d5
commit 19f080ffb8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
147 changed files with 319 additions and 339 deletions

View file

@ -93,7 +93,7 @@ pub mut:
failed_cmds shared []string
reporter Reporter = Reporter(NormalReporter{})
hash string // used as part of the name of the temporary directory created for tests, to ease cleanup
//
exec_mode ActionMode = .compile // .compile_and_run only for `v test`
}
@ -368,7 +368,7 @@ pub fn (mut ts TestSession) test() {
if current_wd == os.wd_at_startup && current_wd == ts.vroot {
ts.root_relative = true
}
//
ts.init()
mut remaining_files := []string{}
for dot_relative_file in ts.files {

View file

@ -7,14 +7,14 @@ pub enum MessageKind {
compile_end // sent right after *each* _test.v file compilation, the message contains the output of that compilation
cmd_begin // sent right before *each* _test.v file execution, the resulting status is not known yet, but the _test.v file itself is
cmd_end // sent right after *each* _test.v file execution, the message contains the output of that execution
//
ok // success of a _test.v file
fail // failed _test.v file, one or more assertions failed
skip // the _test.v file was skipped for some reason
info // a generic information message, detailing the actions of the `v test` program (some tests could be repeated for example, and the details are sent with an .info status)
//
cannot_compile // when the _test.v file compiled with errors
//
sentinel // send just once after all executions are done; it signals that the reporting/printing thread should stop the loop and exit
}