summaryrefslogtreecommitdiff
path: root/internal/showcase/rank_history_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/showcase/rank_history_test.go')
-rw-r--r--internal/showcase/rank_history_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/showcase/rank_history_test.go b/internal/showcase/rank_history_test.go
index 108ed68..f14d23a 100644
--- a/internal/showcase/rank_history_test.go
+++ b/internal/showcase/rank_history_test.go
@@ -147,7 +147,7 @@ func TestFormatRankHistoryForHeader(t *testing.T) {
if !strings.Contains(header, "↓#2(1w)") {
t.Fatalf("header missing down movement: %s", header)
}
- if !strings.Contains(header, "·n/a(3w)") {
- t.Fatalf("header missing n/a placeholder: %s", header)
+ if strings.Contains(header, "n/a") {
+ t.Fatalf("header should omit missing history points: %s", header)
}
}