diff options
author | Yuuki Harano <masm+github@masm11.me> | 2021-02-20 18:00:36 +0900 |
---|---|---|
committer | Yuuki Harano <masm+github@masm11.me> | 2021-02-20 18:00:36 +0900 |
commit | be2e47362b0f933dbc8e300e3d168296b7e2aac4 (patch) | |
tree | 3b14e2e66d33566b81cb1d6e8bb04551d95dd2b9 /test/lisp/emacs-lisp/bindat-tests.el | |
parent | 949d3e50ec4ea7723bf14b93b66ad0b72f96f163 (diff) | |
parent | c85c8e7d42ae2a5fc95fa7b14257389d8383b34d (diff) | |
download | emacs-be2e47362b0f933dbc8e300e3d168296b7e2aac4.tar.gz emacs-be2e47362b0f933dbc8e300e3d168296b7e2aac4.tar.bz2 emacs-be2e47362b0f933dbc8e300e3d168296b7e2aac4.zip |
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs into feature/pgtk
Diffstat (limited to 'test/lisp/emacs-lisp/bindat-tests.el')
-rw-r--r-- | test/lisp/emacs-lisp/bindat-tests.el | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/lisp/emacs-lisp/bindat-tests.el b/test/lisp/emacs-lisp/bindat-tests.el index a9a881987c0..72883fc2ec7 100644 --- a/test/lisp/emacs-lisp/bindat-tests.el +++ b/test/lisp/emacs-lisp/bindat-tests.el @@ -24,13 +24,15 @@ (require 'cl-lib) (defvar header-bindat-spec - '((dest-ip ip) + (bindat-spec + (dest-ip ip) (src-ip ip) (dest-port u16) (src-port u16))) (defvar data-bindat-spec - '((type u8) + (bindat-spec + (type u8) (opcode u8) (length u16r) ;; little endian order (id strz 8) @@ -38,7 +40,8 @@ (align 4))) (defvar packet-bindat-spec - '((header struct header-bindat-spec) + (bindat-spec + (header struct header-bindat-spec) (items u8) (fill 3) (item repeat (items) |