usage: a test's comment no longer says the Requests page's word Unmarked (#4524)

i18n-keys' "a plugin's words are its own" was red on main since
5787d758a: plugins/routing/i18n.js has "Unmarked", and a comment in
internal/usage/search_calls_test.go quoted it, so the word read as core's
too. The comment now says "the unmarked purpose". Ethereal49's patch
(739bc64 on their fork), taken as written.

Run on mote: i18n-keys.test.cjs, 0 fail (was the one red);
go test ./internal/usage -run TestSearchRowsListTheirPurpose.

Co-authored-by: ethereal49 <hongyeluo49@gmail.com>
This commit is contained in:
yetone
2026-11-01 02:29:59 +08:00
co-authored by ethereal49
parent 0e90572274
commit 0565c0bbac
+3 -3
View File
@@ -76,9 +76,9 @@ func TestSearchAPIRowsListedNotCounted(t *testing.T) {
}
// cybercaius on Discord: the Requests page's purposes were All, Connection
// check and Unmarked while the log held searches. A search row, a search
// API's or one a provider's model ran with its own tool, gives the purpose
// list Web search, and that purpose picks it.
// check and the unmarked purpose while the log held searches. A search row,
// a search API's or one a provider's model ran with its own tool, gives the
// purpose list Web search, and that purpose picks it.
func TestSearchRowsListTheirPurpose(t *testing.T) {
reportedHome(t)
now := time.Now().Add(-time.Hour)