Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Kalendar
Commits
ddc9ead3
Commit
ddc9ead3
authored
Oct 15, 2022
by
Claudio Cambra
Browse files
Fixed bad QCOMPARE in mailtemplatetest.cpp
Signed-off-by:
Claudio Cambra
<
claudio.cambra@gmail.com
>
parent
34868ee7
Pipeline
#248556
passed with stage
in 2 minutes and 50 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/mail/mime/tests/mailtemplatetest.cpp
View file @
ddc9ead3
...
...
@@ -593,7 +593,7 @@ private Q_SLOTS:
QCOMPARE
(
result
->
contentType
()
->
mimeType
(),
QByteArray
{
"multipart/alternative"
});
QCOMPARE
(
result
->
attachments
().
size
(),
0
);
QCOMPARE
(
result
->
attachments
().
size
(),
1
);
QCOMPARE
(
result
->
contents
().
size
(),
2
);
QVERIFY
(
result
->
contents
()[
0
]
->
contentType
()
->
isMimeType
(
"text/plain"
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment