Skip to content

Conversation

@Abirdcfly
Copy link
Contributor

Signed-off-by: Abirdcfly [email protected]

see https://go.dev/play/p/EKemzC-_Uk4 for example:

package main

import (
	"testing"
)

func TestLastIndex(t *testing.T) {
	t.Fatalf("print this line")
	t.Log("not print")
}

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

Program exited.
*/

@rfjakob rfjakob merged commit 702a2e1 into rfjakob:master Aug 15, 2022
@Abirdcfly Abirdcfly deleted the patch-1 branch September 11, 2022 03:34
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