An error message was recently added to assist new users:
warning: no code blocks found!
filename: foo.retro
see http://unu.retroforth.org for a brief summary of
the unu code format used by retro
If the user creates a file that is 100% unit tests, they will erroneously be presented the warning above. This does not stop the program from working, but the behavior might be confusing.
foo.retro
, which only contains triple backtick blocks.retro -t foo.md
I’ll have this fixed shortly after the 2022.8 release is out.
Running with this input as
foo.retro
:``` ‘Test s:put nl ```
If I run:
retro foo.retro
, I get the warning, but not if I runretro -t foo.retro
. Can you post the file giving the warning with-t
?
In the latest commit, it no longer displays the warning on test files I’ve made with only test blocks.