[latex3-commits] [git/LaTeX3-latex3-latex3] master: Add test for \file_hex_dump:nnn (f6737d7ab)

Joseph Wright joseph.wright at morningstar2.co.uk
Tue Nov 19 19:22:32 CET 2019


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/f6737d7ab77234289f1dc599be99dcb9e804dfa2

>---------------------------------------------------------------

commit f6737d7ab77234289f1dc599be99dcb9e804dfa2
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Nov 19 18:22:32 2019 +0000

    Add test for \file_hex_dump:nnn


>---------------------------------------------------------------

f6737d7ab77234289f1dc599be99dcb9e804dfa2
 l3kernel/testfiles/m3file001.lvt       | 5 +++++
 l3kernel/testfiles/m3file001.ptex.tlg  | 1 +
 l3kernel/testfiles/m3file001.tlg       | 1 +
 l3kernel/testfiles/m3file001.uptex.tlg | 1 +
 l3kernel/testfiles/m3file001.xetex.tlg | 1 +
 5 files changed, 9 insertions(+)

diff --git a/l3kernel/testfiles/m3file001.lvt b/l3kernel/testfiles/m3file001.lvt
index faa940f2c..2f76ce026 100644
--- a/l3kernel/testfiles/m3file001.lvt
+++ b/l3kernel/testfiles/m3file001.lvt
@@ -171,6 +171,11 @@
           }
           { \ERROR }
       }
+    \str_if_eq:eeTF
+      { \file_hex_dump:nnn { filetest.txt } { 0 } { 10 } }
+      { 5C4578706C53796E7461 }
+      \TRUE
+      \ERROR
     \file_get_mdfive_hash:nN { NotAFile.txt } \l_tmpa_tl
     \tl_show:N \l_tmpa_tl
     \file_get_size:nN { NotAFile.txt } \l_tmpa_tl
diff --git a/l3kernel/testfiles/m3file001.ptex.tlg b/l3kernel/testfiles/m3file001.ptex.tlg
index 04b867e3f..5b8b08837 100644
--- a/l3kernel/testfiles/m3file001.ptex.tlg
+++ b/l3kernel/testfiles/m3file001.ptex.tlg
@@ -206,6 +206,7 @@ l. ...  }
 TEST 10: Getting file information
 ============================================================
 TRUE
+TRUE
 > \l_tmpa_tl=\q_no_value .
 <recently read> }
 l. ...  }
diff --git a/l3kernel/testfiles/m3file001.tlg b/l3kernel/testfiles/m3file001.tlg
index 1a52e5ed2..8cf0907c5 100644
--- a/l3kernel/testfiles/m3file001.tlg
+++ b/l3kernel/testfiles/m3file001.tlg
@@ -206,6 +206,7 @@ l. ...  }
 TEST 10: Getting file information
 ============================================================
 TRUE
+TRUE
 > \l_tmpa_tl=\q_no_value .
 <recently read> }
 l. ...  }
diff --git a/l3kernel/testfiles/m3file001.uptex.tlg b/l3kernel/testfiles/m3file001.uptex.tlg
index 04b867e3f..5b8b08837 100644
--- a/l3kernel/testfiles/m3file001.uptex.tlg
+++ b/l3kernel/testfiles/m3file001.uptex.tlg
@@ -206,6 +206,7 @@ l. ...  }
 TEST 10: Getting file information
 ============================================================
 TRUE
+TRUE
 > \l_tmpa_tl=\q_no_value .
 <recently read> }
 l. ...  }
diff --git a/l3kernel/testfiles/m3file001.xetex.tlg b/l3kernel/testfiles/m3file001.xetex.tlg
index 172a6c037..10b613b31 100644
--- a/l3kernel/testfiles/m3file001.xetex.tlg
+++ b/l3kernel/testfiles/m3file001.xetex.tlg
@@ -206,6 +206,7 @@ l. ...  }
 TEST 10: Getting file information
 ============================================================
 TRUE
+TRUE
 > \l_tmpa_tl=\q_no_value .
 <recently read> }
 l. ...  }





More information about the latex3-commits mailing list