1
0
mirror of https://github.com/ascii-boxes/boxes.git synced 2025-08-14 17:08:53 +02:00

Add test case for UTF-8 parent config file name

This commit is contained in:
Thomas Jensen
2024-02-10 14:44:27 +01:00
parent d62b04e485
commit 2b0e3ceaec
3 changed files with 46 additions and 0 deletions

18
test/191_data/main.cfg Normal file

@ -0,0 +1,18 @@
parent 191_data/parent_ü.cfg
BOX designA
sample
A from config file main
ends
shapes {
w ("AAA", "AAA", "AAA")
}
elastic (
w
)
END designA

@ -0,0 +1,15 @@
BOX designB
sample
B from config file parent_ü
ends
shapes {
w ("BBB")
}
elastic (
w
)
END designB

@ -0,0 +1,13 @@
:DESC
Reference a design from a parent config defined in a config file with a UTF-8 file name.
:ARGS
-f 191_data/main.cfg -d designB -p l1 -s x3 -a vc
:INPUT
foo
:OUTPUT-FILTER
:EXPECTED
BBB
BBB foo
BBB
:EOF