From b06bcc82375a0108023a37507de5277e0cf55640 Mon Sep 17 00:00:00 2001 From: Kaushal Modi Date: Tue, 19 May 2020 00:19:07 -0400 Subject: [PATCH] Add test for https://github.com/OrgTangle/ntangle/issues/17 --- tests/include/file1.el | 5 +++++ tests/include/file1.org | 8 ++++++++ tests/include/file2.org | 3 +++ tests/include/file3.org | 5 +++++ 4 files changed, 21 insertions(+) create mode 100644 tests/include/file1.el create mode 100644 tests/include/file1.org create mode 100644 tests/include/file2.org create mode 100644 tests/include/file3.org diff --git a/tests/include/file1.el b/tests/include/file1.el new file mode 100644 index 0000000..c776015 --- /dev/null +++ b/tests/include/file1.el @@ -0,0 +1,5 @@ +(message "1") + +(message "2") + +(message "3") diff --git a/tests/include/file1.org b/tests/include/file1.org new file mode 100644 index 0000000..7ac3d96 --- /dev/null +++ b/tests/include/file1.org @@ -0,0 +1,8 @@ +#+property: header-args :tangle yes + +#+begin_src emacs-lisp -n +(message "1") +#+end_src + +#+include: "./file2.org" +#+include: "file3.org" diff --git a/tests/include/file2.org b/tests/include/file2.org new file mode 100644 index 0000000..50d0e18 --- /dev/null +++ b/tests/include/file2.org @@ -0,0 +1,3 @@ +#+begin_src emacs-lisp -n :tangle msg2.el +(message "2") +#+end_src diff --git a/tests/include/file3.org b/tests/include/file3.org new file mode 100644 index 0000000..aaed3ce --- /dev/null +++ b/tests/include/file3.org @@ -0,0 +1,5 @@ +#+property: header-args :tangle yes + +#+begin_src emacs-lisp -n +(message "3") +#+end_src