community/github-cli: fix test for go 1.22
--- FAIL: TestHTTPClientSanitizeJSONControlCharactersC0 (0.00s)
http_client_test.go:225:
Error Trace: github.com/cli/cli/v2/api/http_client_test.go:225
Error: Not equal:
expected: "1^A 2^B 3^C 4^D 5^E 6^F 7^G 8^H 9\t A\r\n B\v C^L D\r\n E^N F^O"
actual : "1^A 2^B 3^C 4^D 5^E 6^F 7^G 8\b 9\t A\r\n B\v C\f D\r\n E^N F^O"
Diff:
--- Expected
+++ Actual
@@ -1,3 +1,3 @@
-1^A 2^B 3^C 4^D 5^E 6^F 7^G 8^H 9 A
- B^K C^L D
+1^A 2^B 3^C 4^D 5^E 6^F 7^G 8^H 9 A
+ B^K C^L D
E^N F^O
Test: TestHTTPClientSanitizeJSONControlCharactersC0
FAIL
FAIL github.com/cli/cli/v2/api 0.062s