Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] source --builtin testing.ysh failed #1910

Open
glyh opened this issue Apr 6, 2024 · 2 comments
Open

[BUG] source --builtin testing.ysh failed #1910

glyh opened this issue Apr 6, 2024 · 2 comments

Comments

@glyh
Copy link
Collaborator

glyh commented Apr 6, 2024

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
@glyh glyh added the bug label Apr 6, 2024
@glyh glyh changed the title 【BUG] source --builtin testing.ysh failed [BUG] source --builtin testing.ysh failed Apr 6, 2024
@glyh
Copy link
Collaborator Author

glyh commented Apr 6, 2024

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

@andychu
Copy link
Contributor

andychu commented Apr 7, 2024

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 !!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants