1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-01 17:38:37 +00:00

chore: update test case comment

The updated comment reflects a better understanding of the RFCs.
This commit is contained in:
Scott Leggett 2024-10-03 19:50:50 +08:00 committed by Frédéric Guillot
parent 628b2b388d
commit cb610230d9

View file

@ -30,7 +30,7 @@ func TestIsModified(t *testing.T) {
ETag: cachedEtag,
IsModified: false,
},
// This case is invalid per RFC9110 8.8.1, so ETag takes precedence.
// ETag takes precedence per RFC9110 8.8.1.
"Last-Modified changed only": {
Status: 200,
LastModified: "Thu, 22 Oct 2015 07:28:00 GMT",