diff options
author | sharkdp <davidpeter@web.de> | 2020-10-01 20:45:26 +0200 |
---|---|---|
committer | David Peter <sharkdp@users.noreply.github.com> | 2020-10-01 22:58:30 +0200 |
commit | 9eed16beb4c4cd8f7d7997a86c433866fe9e4cc7 (patch) | |
tree | 330e3943f359df3679ac84f5814e27881373fe8a /tests | |
parent | c432a064a43df1a06ed4daac3ea6fd3d68bd3d47 (diff) |
Add Email example code
Diffstat (limited to 'tests')
-rw-r--r-- | tests/syntax-tests/highlighted/Email/test.eml | 16 | ||||
-rw-r--r-- | tests/syntax-tests/source/Email/test.eml | 16 |
2 files changed, 32 insertions, 0 deletions
diff --git a/tests/syntax-tests/highlighted/Email/test.eml b/tests/syntax-tests/highlighted/Email/test.eml new file mode 100644 index 00000000..fb36559a --- /dev/null +++ b/tests/syntax-tests/highlighted/Email/test.eml @@ -0,0 +1,16 @@ +[38;2;249;38;114mReturn-Path:[0m[38;2;248;248;242m [0m[38;2;230;219;116m<user@example.com>[0m +[38;2;249;38;114mReceived:[0m[38;2;248;248;242m from mail.example ([1.1.1.1])[0m +[38;2;248;248;242m by mail.example with LMTP[0m +[38;2;248;248;242m id 123[0m +[38;2;248;248;242m (envelope-from [0m[38;2;230;219;116m<user@example.com>[0m[38;2;248;248;242m)[0m +[38;2;248;248;242m for [0m[38;2;230;219;116m<a@b>[0m[38;2;248;248;242m; [0m[38;2;255;255;255mSun, 13 Oct 2019 13:53:24 +0000[0m +[38;2;249;38;114mFrom:[0m[38;2;248;248;242m "User, Test" [0m[38;2;230;219;116m<user@example.com>[0m +[38;2;249;38;114mTo:[0m[38;2;248;248;242m "User2, Test" [0m[38;2;230;219;116m<user2@example.com>[0m +[38;2;249;38;114mSubject:[0m +[38;2;249;38;114mDate:[0m[38;2;248;248;242m [0m[38;2;255;255;255mSun, 13 Oct 2019 13:53:08 +0000[0m +[38;2;249;38;114mAccept-Language:[0m[38;2;248;248;242m de-DE, en-US[0m +[38;2;249;38;114mContent-Language:[0m[38;2;248;248;242m de-DE[0m +[38;2;249;38;114mX-MS-Has-Attach:[0m[38;2;248;248;242m yes[0m +[38;2;249;38;114mMIME-Version:[0m[38;2;248;248;242m 1.0[0m + +[38;2;117;113;94mTest[0m diff --git a/tests/syntax-tests/source/Email/test.eml b/tests/syntax-tests/source/Email/test.eml new file mode 100644 index 00000000..5fbed52c --- /dev/null +++ b/tests/syntax-tests/source/Email/test.eml @@ -0,0 +1,16 @@ +Return-Path: <user@example.com> +Received: from mail.example ([1.1.1.1]) + by mail.example with LMTP + id 123 + (envelope-from <user@example.com>) + for <a@b>; Sun, 13 Oct 2019 13:53:24 +0000 +From: "User, Test" <user@example.com> +To: "User2, Test" <user2@example.com> +Subject: +Date: Sun, 13 Oct 2019 13:53:08 +0000 +Accept-Language: de-DE, en-US +Content-Language: de-DE +X-MS-Has-Attach: yes +MIME-Version: 1.0 + +Test |