You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
As part of the standard library rename in pull request #639, we renamed the integration test files to match the new standard library function names, and added the library name as a prefix if missing. For example, function text_contains is tested in file text_contains.ab, but replace is tested in text_replace.ab. However, when we run amber docs --usage, we find all test files matching replace*.ab, but not text_replace*.ab.
To Reproduce
Run amber docs --usage src/std/text.ab.
Expected behavior
The usage docs should reference the prefixed as well as the unprefixed test files.
While I'm at it, I would also like to remove the excess blank lines from the generated Markdown files, as we inconsistently use one, two or three newlines, depending on context.
Finally, I would like to make amber docs text.ab write to standard output if the specified output directory is -; this will make testing changes simpler.
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Describe the bug
As part of the standard library rename in pull request #639, we renamed the integration test files to match the new standard library function names, and added the library name as a prefix if missing. For example, function
text_contains
is tested in filetext_contains.ab
, butreplace
is tested intext_replace.ab
. However, when we runamber docs --usage
, we find all test files matchingreplace*.ab
, but nottext_replace*.ab
.To Reproduce
Run
amber docs --usage src/std/text.ab
.Expected behavior
amber docs text.ab
write to standard output if the specified output directory is-
; this will make testing changes simpler.Additional context
N/A
The text was updated successfully, but these errors were encountered: