Skip to content

Commit

Permalink
Add test case for UTF-8 parent config file name
Browse files Browse the repository at this point in the history
  • Loading branch information
tsjensen committed Feb 14, 2024
1 parent d62b04e commit 2b0e3ce
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
18 changes: 18 additions & 0 deletions test/191_data/main.cfg
Original file line number Diff line number Diff line change
@@ -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 changes: 15 additions & 0 deletions test/191_data/parent_ü.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
BOX designB

sample
B from config file parent_ü
ends

shapes {
w ("BBB")
}

elastic (
w
)

END designB
13 changes: 13 additions & 0 deletions test/191_unicode_parent_config.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2b0e3ce

Please sign in to comment.