package views import ( "testing" "time" ) // TestAPictureWhoseAnswerNamesNoMakeTimeIsJudgedByItsRevision: an owner whose answer names no time its state was made (the // indexer's modules) left the assigner's picture "behind" for good while events said 2026-10-29; by its revision it is not. func TestAPictureWhoseAnswerNamesNoMakeTimeIsJudgedByItsRevision(t *testing.T) { made := time.Date(2026, 10, 29, 8, 38, 50, 0, time.UTC) f := &Follower{heardCreated: made, heardRev: 210} f.st.Revision = 210 if why := f.behindLocked(); why != "" { t.Errorf("a picture at the revision heard, its answer naming no make time, is behind: %s", why) } f.heardRev = 211 if why := f.behindLocked(); why == "" { t.Error("a picture one revision short is not behind") } }