I was intrigued by the difference between .txtar files intended for running with testscript first.txtar and those intended for running with go test other.txtar.
The files ran by testscript support the command go with a variety of arguments, as documented in testscript -h, in addition to commands, conditions and supporting files that are interpreted by the small script engine in the testscript package; files run by go test do not support the command go.
I suggest that this difference should be mentioned and documented in testscript doc, for the benefit of newcomers.
I was intrigued by the difference between
.txtarfiles intended for running withtestscript first.txtarand those intended for running withgo test other.txtar.The files ran by
testscriptsupport the commandgowith a variety of arguments, as documented intestscript -h, in addition to commands, conditions and supporting files that are interpreted by thesmall script engine in the testscript package; files run bygo testdo not support the commandgo.I suggest that this difference should be mentioned and documented in testscript doc, for the benefit of newcomers.