From d7748b4dc7862672effe5dd5f5afb3e0593ad899 Mon Sep 17 00:00:00 2001 From: JesusPerez Date: Sun, 23 Jan 2022 02:18:47 +0000 Subject: [PATCH] chore: add test --- test/data.yaml | 1 + test/out.j2 | 1 + test/run.sh | 1 + 3 files changed, 3 insertions(+) create mode 100644 test/data.yaml create mode 100644 test/out.j2 create mode 100755 test/run.sh diff --git a/test/data.yaml b/test/data.yaml new file mode 100644 index 0000000..d94ff1d --- /dev/null +++ b/test/data.yaml @@ -0,0 +1 @@ +name: Jesús diff --git a/test/out.j2 b/test/out.j2 new file mode 100644 index 0000000..ae9a3fa --- /dev/null +++ b/test/out.j2 @@ -0,0 +1 @@ +Hola ¿ qué tal {{name}} ? diff --git a/test/run.sh b/test/run.sh new file mode 100755 index 0000000..bf8d7a6 --- /dev/null +++ b/test/run.sh @@ -0,0 +1 @@ +cargo run -- --data test/data.yaml --tpl test/out.j2