mirror of
1
Fork 0
forgejo/modules
zeripath e429c1164e
Ensure that the detected charset order is set in chardet test (#12574)
TestToUTF8WithFallback is the cause of recurrent spurious test failures
even despite code to set the detected charset order.

The reason why this happens is because the preferred detected charset order
is not being initialised for these tests.

This PR simply ensures that this is set at the start of each test and would
allow different tests to be written to allow differing orders.

Replaces #12571
Close #12571

Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-08-23 14:15:29 +01:00
..
analyze Exclude generated files from language statistics (#11653) 2020-05-29 09:20:01 +03:00
auth Skip SSPI authentication attempts for /api/internal (#12556) 2020-08-22 12:09:43 +03:00
avatar Improve handling of non-square avatars (#7025) 2019-05-25 14:46:14 +03:00
base Update Octicons to v10 (#12240) 2020-07-17 18:15:12 +03:00
cache Use hash of repo path, ref and entrypath as cache key (#12151) 2020-07-06 01:40:34 +03:00
charset Ensure that the detected charset order is set in chardet test (#12574) 2020-08-23 14:15:29 +01:00
context Add a storage layer for attachments (#11387) 2020-08-18 12:23:45 +08:00
convert Default empty merger list to those with write permissions (#12535) 2020-08-20 10:48:40 +03:00
cron Mirror System Notice reports are too frequent (#12438) 2020-08-05 21:40:36 +01:00
emoji Fix emoji detection in certain cases (#12320) 2020-07-25 16:40:04 +03:00
eventsource Move EventSource to SharedWorker (#12095) 2020-07-03 10:55:36 +01:00
generate Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00
git fix typos (#12545) 2020-08-20 18:41:08 +01:00
gitgraph Render the git graph on the server (#12333) 2020-08-06 09:04:08 +01:00
graceful Re-attempt to delete temporary upload if the file is locked by another process (#12447) 2020-08-11 21:05:34 +01:00
highlight Ensure syntax highlighting is the same inside diffs (#12205) 2020-07-11 13:43:12 +08:00
httplib Add golangci (#6418) 2019-06-12 15:41:28 -04:00
indexer Remove hardcoded ES indexername (#12521) 2020-08-18 11:08:51 -05:00
lfs Add Access-Control-Expose-Headers (#12446) 2020-08-13 18:18:18 +01:00
log Re-attempt to delete temporary upload if the file is locked by another process (#12447) 2020-08-11 21:05:34 +01:00
markup Re-attempt to delete temporary upload if the file is locked by another process (#12447) 2020-08-11 21:05:34 +01:00
metrics Prometheus endpoint (#5256) 2018-11-04 22:20:00 -05:00
migrations Add a storage layer for attachments (#11387) 2020-08-18 12:23:45 +08:00
notification Add action feed for new release (#12324) 2020-07-29 15:20:54 -04:00
options Rename scripts to build and add revive command as a new build tool command (#10942) 2020-04-03 22:29:12 +03:00
password Add password requirement info on error (#9074) 2019-11-19 22:44:58 +00:00
pprof Add golangci (#6418) 2019-06-12 15:41:28 -04:00
private Pause, Resume, Release&Reopen, Add and Remove Logging from command line (#11777) 2020-07-05 20:07:07 -04:00
process Only write to global gitconfig if necessary (#11876) 2020-06-13 17:47:31 -04:00
public go1.15 (#12475) 2020-08-13 10:11:24 -04:00
queue Re-attempt to delete temporary upload if the file is locked by another process (#12447) 2020-08-11 21:05:34 +01:00
recaptcha fixed reCAPTCHA URL (#9083) 2019-11-22 08:03:45 +00:00
references Detect full references to issues and pulls in commit messages (#12399) 2020-08-06 20:20:05 +01:00
repofiles Detect full references to issues and pulls in commit messages (#12399) 2020-08-06 20:20:05 +01:00
repository Re-attempt to delete temporary upload if the file is locked by another process (#12447) 2020-08-11 21:05:34 +01:00
secret Integrate OAuth2 Provider (#5378) 2019-03-08 11:42:50 -05:00
session Prevent (caught) panic on login (#11590) 2020-05-23 20:59:04 -03:00
setting Set utf8mb4 as the default charset on MySQL if CHARSET is unset (#12563) 2020-08-22 13:56:33 +01:00
ssh log.Fatal on failure to listen to SSH port (#10795) 2020-03-23 07:59:38 +00:00
storage Add a storage layer for attachments (#11387) 2020-08-18 12:23:45 +08:00
structs Kanban board (#8346) 2020-08-16 23:07:38 -04:00
svg Fix filepath basename on Windows for SVG bindata (#12241) 2020-07-13 21:16:40 +01:00
sync Fix missing unlock in uniquequeue (#9790) 2020-01-15 23:58:33 +02:00
task Move create/fork repository from models to modules/repository (#9489) 2020-01-12 20:11:17 +08:00
templates Render the git graph on the server (#12333) 2020-08-06 09:04:08 +01:00
test Add Organization Wide Labels (#10814) 2020-04-01 01:14:46 -03:00
timeutil Fix timezone on issue deadline (#11697) 2020-06-05 18:51:10 -04:00
upload Fix upload file type check (#7890) 2019-08-17 13:10:17 +03:00
user Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00
util Re-attempt to delete temporary upload if the file is locked by another process (#12447) 2020-08-11 21:05:34 +01:00
validation [API] Get a single commit via Ref (#10915) 2020-04-07 22:54:46 -04:00
webhook Don't use legacy method to send Matrix Webhook (#12348) 2020-07-30 18:04:19 -04:00