boxes/test/167_duplicate_primary_name.txt
Thomas Jensen 00153f8068
Fix a bug where alias names could be defined twice
This could happen when configs are inherited, but aliases redefined
(a rare case so far).
2021-06-08 22:06:25 +02:00

20 lines
495 B
Plaintext

:DESC
Test that two designs in the same file may not have the same name. The second one is invalid and should be skipped.
:ARGS
-f 167_duplicate_primary_name.cfg -l
:INPUT
:OUTPUT-FILTER
:EXPECTED
boxes: 167_duplicate_primary_name.cfg: line 35: duplicate box design name -- designA
boxes: 167_duplicate_primary_name.cfg: line 35: skipping to next design
1 Available Style in "167_duplicate_primary_name.cfg":
------------------------------------------------------
designA:
designA
:EOF