oilshell / oil

Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!

Home Page:http://www.oilshell.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] `source --builtin testing.ysh` failed

glyh opened this issue · comments

source --builtin testing.ysh
    _ _describe_list->append(block)
                            ^
stdlib/testing.ysh:72: Space required before (
  source --builtin testing.ysh
  ^~~~~~
[ interactive ]:16: errexit PID 157244: command.Simple failed with status 2

After some skim it looks like nothing's working in testing.ysh

Yes we should at least make spec/ysh-stdlib-testing and then make sure it parses, that's the first step

After that we need to put a real test framework there

And then we can get rid of spec/ysh-stdlib-* and write tests in YSH !!!