Skip to content

Conversation

Abirdcfly
Copy link
Contributor

Signed-off-by: Abirdcfly fp544037857@gmail.com

see https://go.dev/play/p/w4Xuilq-KvA for example:

package main

import (
	"testing"
)

func TestLastIndex(t *testing.T) {
	t.Fatalf("this line will print and exit")
	t.Errorf("this line can't print")
}

/* output:
=== RUN   TestLastIndex
    prog.go:8: this line will print and exit
--- FAIL: TestLastIndex (0.00s)
FAIL

Program exited.
*/

Signed-off-by: Abirdcfly <fp544037857@gmail.com>
@hyper0x hyper0x merged commit 7675244 into gopcp:master Nov 3, 2022
@Abirdcfly Abirdcfly deleted the patch-1 branch November 3, 2022 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants