Skip to content

Commit 1b7f03b

Browse files
committed
Add test case for UTF-8 parent config file name
1 parent d750780 commit 1b7f03b

File tree

3 files changed

+46
-0
lines changed

3 files changed

+46
-0
lines changed

test/191_data/main.cfg

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
2+
parent 191_data/parent_ü.cfg
3+
4+
BOX designA
5+
6+
sample
7+
A from config file main
8+
ends
9+
10+
shapes {
11+
w ("AAA", "AAA", "AAA")
12+
}
13+
14+
elastic (
15+
w
16+
)
17+
18+
END designA

test/191_data/parent_ü.cfg

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
BOX designB
2+
3+
sample
4+
B from config file parent_ü
5+
ends
6+
7+
shapes {
8+
w ("BBB")
9+
}
10+
11+
elastic (
12+
w
13+
)
14+
15+
END designB

test/191_unicode_parent_config.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
:DESC
2+
Reference a design from a parent config defined in a config file with a UTF-8 file name.
3+
4+
:ARGS
5+
-f 191_data/main.cfg -d designB -p l1 -s x3 -a vc
6+
:INPUT
7+
foo
8+
:OUTPUT-FILTER
9+
:EXPECTED
10+
BBB
11+
BBB foo
12+
BBB
13+
:EOF

0 commit comments

Comments
 (0)