Versions in this module Expand all Collapse all v0 v0.6.0 Jul 3, 2023 Changes in this version + func AreDiagnosticEquivalent(a protocol.Diagnostic, b protocol.Diagnostic) bool + func ListHasDiagnostic(list []protocol.Diagnostic, diagnostic protocol.Diagnostic) bool + type Diag struct + To DiagTo + func Diagnostic(t *testing.T, diagnostic protocol.Diagnostic) Diag + type DiagTo struct + Not DiagToNot + func (expect DiagTo) Equal(diagnostic protocol.Diagnostic) + type DiagToNot struct + func (expect DiagToNot) Equal(diagnostic protocol.Diagnostic) + type ExpectDiagnosticList struct + To To + func DiagnosticList(t *testing.T, list []protocol.Diagnostic) ExpectDiagnosticList + type To struct + Be ToBe + Not ToNot + func (expect To) Include(diagnostic protocol.Diagnostic) + func (expect To) IncludeAll(diagnostics []protocol.Diagnostic) + type ToBe struct + func (expect ToBe) Empty() + type ToNot struct + Be ToNotBe + func (expect ToNot) Include(diagnostic protocol.Diagnostic) + func (expect ToNot) IncludeAll(val []protocol.Diagnostic) + type ToNotBe struct + func (expect ToNotBe) Empty()