type fields struct {
Status Status
Type BookingType
Updated time.Time
History []BookingHistory
}
type args struct {
b *Booking
}
tests := []struct {
name string
fields fields
args args
t.Run(tt.name, func(t *testing.T) {
t.Error("expecting status of bookinglisting to be active")
}
bl.provisionHistory(tt.args.b)
})
}
Can you make a complete, runnable example which demonstrates the problem, on play.golang.org, and post the link here?
--
You received this message because you are subscribed to a topic in the Google Groups "golang-nuts" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/golang-nuts/gxtF2eEzjLI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to golang-nuts...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/dabb8639-fec8-4c28-bab2-9d4484dd7716n%40googlegroups.com.