X-Git-Url: http://git.giacomolli.uk/onechat/blobdiff_plain/ec38dadaaf127d8bd2ffb72df450e8d3f5ac88c0..49566fe4e40a18434320829c5cb6a6eff1b4ec78:/probe_test.go?ds=inline diff --git a/probe_test.go b/probe_test.go index 265d49d..bd881a0 100644 --- a/probe_test.go +++ b/probe_test.go @@ -31,7 +31,7 @@ func TestProbeLogHasTheSyntheticMix(t *testing.T) { long := 0 for _, message := range messages { counts[message.Kind]++ - require.True(t, kinds[message.Kind], message.Kind) + require.True(t, logKinds[message.Kind], message.Kind) require.NotEmpty(t, message.Text) for _, char := range message.Text { require.True(t, char == '\n' || (char >= ' ' && char <= '~'), "character %q", char) @@ -394,7 +394,7 @@ func (g *ProbeWriter) outputLine() string { } // probeLog returns count messages of made-up work on a small bakery order -// system, with the mix of kinds and sizes of syntheticMessage. The same count +// system, with the mix of kinds and sizes of replayMessage. The same count // always gives the same log. func probeLog(count int) []ProbeEntry { g := ProbeWriter{