mirror of
https://github.com/ascii-boxes/boxes.git
synced 2024-12-04 14:03:53 +01:00
Add test case for UTF-8 parent config file name
This commit is contained in:
parent
d62b04e485
commit
2b0e3ceaec
18
test/191_data/main.cfg
Normal file
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
|
15
test/191_data/parent_ü.cfg
Normal file
15
test/191_data/parent_ü.cfg
Normal file
@ -0,0 +1,15 @@
|
||||
BOX designB
|
||||
|
||||
sample
|
||||
B from config file parent_ü
|
||||
ends
|
||||
|
||||
shapes {
|
||||
w ("BBB")
|
||||
}
|
||||
|
||||
elastic (
|
||||
w
|
||||
)
|
||||
|
||||
END designB
|
13
test/191_unicode_parent_config.txt
Normal file
13
test/191_unicode_parent_config.txt
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user