tests: add tests for lookup paths and imports
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I7e54691aa3e81efcb495124d13e8c24a6a6a6964
This commit is contained in:
parent
a6aade6c11
commit
77aa67c7e0
6 changed files with 156 additions and 7 deletions
|
|
@ -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";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue