Is there a way to simulate stdin in Mojo?
I wrote a basic
input()
function and created an automated test script on GH but want to add tests to the input()
function. Because of this, I'd like to be able to feed a pre-made answer into the stdin, is this possible?
The input()
function:
This is especially important to me as I couldn't get the containers in VS Code to work and need to rely on these automated tests until native support arrives.0 Replies