-
Notifications
You must be signed in to change notification settings - Fork 23
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
Test using capture.hsh
fails
#33
Comments
|
For sure, I am guessing what the solution is which is why I didn't make a PR to "fix" the problem. That said something does seem to be wrong because I had a failure only for that test. ("
|
That's strange, I can't reproduce it from the current master. I am missing something? |
I'm also not able to reproduce the issue on my linux box, but we can see some useful info from the error output above. In particular:
Can you please run the following and tell us the output? echo 'std.print(${ echo 321 | rev | cat; echo 456 })' | cargo run I get the following (expected) result:
|
Chances are your machine does not have |
Since this is a nix package I assumed it was very possible one of the binaries was not in the path when building, but running your command returns the expected result and running Running
And running the tests
which for
|
Hmmm, that is really weird. Note that in the last output you provided, it was another test that failed, but seemingly for the same reason. I guess we should try to replace the
That way, we can get the error output from the command block, and hopefully have a clue on why it's failing. |
Seems like it's trying to use
.stdout
an old way, where the website now shows examples withresult.context.stdout
?hush/src/runtime/tests/data/positive/capture.hsh
Lines 6 to 7 in 7fa2dc4
This failed when I was trying to build master as a nix package and it automatically ran
cargo test
. I have disabled the checks for now.The text was updated successfully, but these errors were encountered: