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

Tests #42

Open
ShalokShalom opened this issue Aug 22, 2023 · 2 comments
Open

Tests #42

ShalokShalom opened this issue Aug 22, 2023 · 2 comments

Comments

@ShalokShalom
Copy link

Hi there :)

Are tests not implemented yet, or not documented?

Thanks

In case the term is inconclusive: https://fishshell.com/docs/current/cmds/test.html

@gahag
Copy link
Collaborator

gahag commented Aug 22, 2023

There are plans to implement a filesystem api in the stdlib, providing functionality such as:

if std.fs.exists('./filename') then
  ...
end

Nevertheless, test is an exeternal program, and as such, can be invoked from Hush. I don't see it being very useful though.

@ShalokShalom
Copy link
Author

How do you check if something is true or not? And

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

No branches or pull requests

2 participants