Rename the retained history limit diagnostic
This commit is contained in:
@@ -274,7 +274,7 @@ func hasHistoryLimitDiagnostic(t *testing.T, err error) bool {
|
||||
t.Fatalf("error type = %T, want *LoadError", err)
|
||||
}
|
||||
for _, diagnostic := range loadErr.Diagnostics() {
|
||||
if diagnostic.Code == CodeExplainLimitExceeded {
|
||||
if diagnostic.Code == CodeHistoryLimitExceeded {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user