gb.test.tap: Support multiline diagnostics
[GB.TEST.TAP] * NEW: Support multiline diagnostics.
This commit is contained in:
parent
235169553c
commit
b583aeaeed
2 changed files with 7 additions and 1 deletions
|
@ -31,6 +31,8 @@ Public Sub Main()
|
|||
Exec ["/usr/bin/mountpoint", "/home"] To sCapture
|
||||
.Equals(Process.LastValue, 0, "/home is a mountpoint")
|
||||
Endif
|
||||
|
||||
.Note("That's it.\nBye.")
|
||||
End With
|
||||
|
||||
End
|
||||
|
|
|
@ -98,7 +98,11 @@ End
|
|||
|
||||
Public Sub Diagnostic(Comment As String)
|
||||
|
||||
Print("# " & Comment)
|
||||
Dim sLine As String
|
||||
|
||||
For Each sLine In Split(Trim$(Comment), "\n")
|
||||
Print("# " & sLine)
|
||||
Next
|
||||
|
||||
End
|
||||
|
||||
|
|
Loading…
Reference in a new issue