E81008: duplicate test case IDs in same directory
What went wrong
Multiple commandline_arg_{id}.txt files have the same {id}, creating ambiguous test cases.
Worked examples
Compilable examples demonstrating this error and the correct fix:
- ek9 -q 953 (How do @Test programs work with command-line arguments...)
For example
commandline_arg_test.txt beside commandline_arg_Test.txt: on a case-insensitive filesystem the two are the same file.
How to fix it
- Rename one file with distinct ID: test1 vs test2
- Or remove duplicate file and its expected_case file
- Use lowercase IDs to avoid case sensitivity issues
Common causes
- Case sensitivity issues (test vs Test)
- Copy-paste without renaming
Examples
No compiled example of E81008 is held in the error catalogue yet; the explanation above is the rich message the compiler shows for it (ek9 -h E81008).
Found a problem?
If EK9 reported E81008 for a program you think is valid, or did not report it where it should have, use the compiler form with the smallest program that shows it. If this page is wrong or unclear, use the documentation form. Both are at github.com/ek9lang/ek9-issues.