tests: add tests for lookup paths and imports

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I7e54691aa3e81efcb495124d13e8c24a6a6a6964
This commit is contained in:
raf 2026-02-22 20:00:35 +03:00
commit 77aa67c7e0
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
6 changed files with 156 additions and 7 deletions

View file

@ -10,13 +10,11 @@ in {
# Multiple interpolations
multi = "x is ${x} and name is ${name}";
# Nested expression
nested = "Result: ${
if bool_val
then "yes"
else "no"
}";
# Expression evaluation in interpolation
computed = "x + 10 = ${x + 10}";
# Just a string (no interpolation)
bool_check = "${bool_val} is true!";
# Just a string, no interpolation
plain = "plain text";
}