tests: update test cases for newer syntax items; drop old artifacts

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I8640148e8e7597924f9c776750c856266a6a6964
This commit is contained in:
raf 2026-02-22 21:49:12 +03:00
commit 00a3d2e585
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
21 changed files with 144 additions and 0 deletions

31
tests/indented_string.nix Normal file
View file

@ -0,0 +1,31 @@
# Test indented strings (multi-line strings with '' delimiters)
let
# Simple indented string
simple = ''
Hello
World
'';
# Indented string with interpolation
name = "Nix";
greeting = ''
Welcome to ${name}!
This is indented.
'';
# Escape sequences
escapes = ''
Literal dollar: ''$
Literal quotes: '''
Regular text
'';
# Shell script example (common use case)
script = ''
#!/bin/bash
echo "Running script"
ls -la
'';
in {
inherit simple greeting escapes script;
}