From d31b59085ae2cf85a40f62038ec68bf91b4f7202 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Thu, 31 Oct 2024 10:05:55 +0100 Subject: [PATCH] test: add failing test for joins with var substituion --- test/data/base/19-op-join-with-vars.json | 1 + test/data/base/19-op-join-with-vars.yaml | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 test/data/base/19-op-join-with-vars.json create mode 100644 test/data/base/19-op-join-with-vars.yaml diff --git a/test/data/base/19-op-join-with-vars.json b/test/data/base/19-op-join-with-vars.json new file mode 100644 index 00000000..da971269 --- /dev/null +++ b/test/data/base/19-op-join-with-vars.json @@ -0,0 +1 @@ +{"lang":"nl_NL.UTF-8"} diff --git a/test/data/base/19-op-join-with-vars.yaml b/test/data/base/19-op-join-with-vars.yaml new file mode 100644 index 00000000..7fd5dcfa --- /dev/null +++ b/test/data/base/19-op-join-with-vars.yaml @@ -0,0 +1,19 @@ +otk.version: 1 + +otk.define: + default: + modifications: + language: en_US.UTF-8 + + user: + modifications: + language: nl_NL.UTF-8 + + modifications: + otk.op.join: + values: + - ${default.modifications} + - ${user.modifications} + +otk.target.osbuild: + lang: ${modifications.language}