E81009: invalid file name pattern (typo detected)

Category: E81xxx-E83xxx Test configuration, execution and coverage · Classification: INVALID_FILE_PATTERN · All error codes

What went wrong

A file in the test directory appears to be misnamed. The test runner detected a likely typo using fuzzy matching.

Worked examples

Compilable examples demonstrating this error and the correct fix:

  • ek9 -q 953 (How do @Test programs work with command-line arguments...)

Common typos

commandline_args_   -> commandline_arg_   (extra 's')
command_line_arg_   -> commandline_arg_   (extra underscore)
expected_output_case_ -> expected_case_   (wrong format)

How to fix it

Rename the file to match expected pattern:

$ mv dev/commandline_args_test.txt dev/commandline_arg_test.txt

File naming patterns

Simple test:       expected_output.txt
Parameterized:     commandline_arg_{id}.txt + expected_case_{id}.txt

Examples

No compiled example of E81009 is held in the error catalogue yet; the explanation above is the rich message the compiler shows for it (ek9 -h E81009).

Found a problem?

If EK9 reported E81009 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.