aerc/lib
Koni Marti e92573c5d7 lib: fix tests for 386 platforms
Tests in lib/structure_helpers_test.go pass on amd64 platforms but fail
on 386 platforms. This can be reproduced with the following steps:

1. Create a Dockerfile in aerc's source folder:

	FROM i386/alpine:edge

	RUN apk update && apk upgrade
	RUN apk add --no-cache go make scdoc

	WORKDIR aerc

	COPY . .

	RUN make

	CMD make tests

2. Build the image:
	$ docker buildx build --platform=linux/386 -t test .

3. Run the image:
	$ docker run --rm --platform=linux/386 -it test

The test in lib/structure_helpers_test.go will fail.

If the same above steps are done with this patch applied, all tests pass.

Signed-off-by: Koni Marti <koni.marti@gmail.com>
Acked-by: Robin Jarry <robin@jarry.cc>
2022-07-14 23:15:26 +02:00
..
auth msgviewer: parse and display authentication results 2022-06-09 09:42:23 +02:00
calendar calendar: fix go vet error 2022-06-24 21:08:21 +02:00
crypto gpg: fix panic when signing an unparsable message 2022-07-02 18:36:40 +02:00
format dirlist: add format specifier to compact folder name 2022-04-29 13:41:38 +02:00
parse msgviewer: open http links from messages 2022-06-14 22:12:48 +02:00
sort go.mod: change base git url 2021-11-05 10:21:45 +01:00
statusline feat: add background mail polling option for all workers 2022-05-31 14:32:51 +02:00
templates config: do not hardcode sharedir 2022-02-19 15:24:55 +01:00
ui fix panic on closing a tab 2022-07-10 21:15:05 +02:00
uidstore Create UIDStore package 2019-07-12 11:09:47 -04:00
attachment.go compose: refactor attachment handling 2022-07-02 17:52:49 +02:00
dirstore.go Move msgstore map to dirstore 2019-07-26 14:15:27 -04:00
history.go Add command history and cycling 2019-07-26 14:29:34 -04:00
keepalive_dummy.go format: reformat code with go 1.17 2021-12-11 23:24:08 +01:00
keepalive_linux.go format: reformat code with go 1.17 2021-12-11 23:24:08 +01:00
messageview.go refactor: refactor pgp implementation 2022-04-27 09:46:11 +02:00
msgstore.go threading: refactor reselect logic 2022-07-10 21:15:12 +02:00
oauthbearer.go Add `oauthbearer` support for SMTP 2020-08-13 07:44:43 +02:00
open.go logging: added a log on panic 2022-03-23 20:56:09 +01:00
socket.go aerc: use aerc as an mbox viewer 2022-07-14 23:14:50 +02:00
structure_helpers.go lib: fix tests for 386 platforms 2022-07-14 23:15:26 +02:00
structure_helpers_test.go forward: provide option to append all attachments 2022-07-02 17:53:06 +02:00
threadbuilder.go threading: fix msg-id order in references header 2022-03-23 20:56:47 +01:00