Skip to content

Releases: rogpeppe/go-internal

v1.6.0 - testscript improvements

06 May 12:18
be09da5
Compare
Choose a tag to compare

New features in this release:

  • add ${/} as a companion to ${:} (#90; thanks to @mvdan)
  • add Env.Setenv and Env.Getenv (#96; thanks to @twpayne)
  • support stdout/stderr args in stdin (#94; thanks to @mvdan)
  • expose current subtest in Env (#95; thanks to @frankban)

Also apply fix to lockedfile to fix #91 (thanks to @myitcv)

v1.5.2

13 Jan 18:27
bc89b17
Compare
Choose a tag to compare
  • testscript: provide WorkdirRoot as a new Params field (#87) bc89b17
  • testscript: fix race in setupfilenames test (#88) ae313c1

v1.5.1

18 Dec 16:40
bf08ea5
Compare
Choose a tag to compare
  • testscript: fail a test when a testscript Dir contains no scripts (#85) bf08ea5

v1.3.2

07 Sep 13:33
Compare
Choose a tag to compare
  • testscript: make sure work dir isn't removed when -testwork is used (#80) 18d060b
  • testscript: ensure that temp dir isn't sym-linked (#79) 9181448

v1.3.1

27 Aug 10:20
Compare
Choose a tag to compare
  • ci: changes for go1.13beta1 0483ff7
  • modfile: add tests for AddReplace and DropReplace (#72) 3670dca
  • Merge pull request #71 from rogpeppe/023-fmtsort 6f68bf1

v1.2.2

14 Feb 10:33
1cf9852
Compare
Choose a tag to compare
cmd/testscript: add support to pass through env vars with -e (#54)

v1.2.1

12 Feb 11:50
2ea7272
Compare
Choose a tag to compare
testscript: only expand second argument to cmpenv (#53)

v1.1.1-alpha

17 Jan 19:34
f22f413
Compare
Choose a tag to compare
v1.1.1-alpha Pre-release
Pre-release
testscript: respect TestScript env PATH variable for exec command (#49)

Includes a partial snapshot of os/exec's platform-specific LookPath
logic, as of 0456036e28b718d215f49abe83d3c49101f8a4c7. This is largely a
copy and paste, with a type alias to os/exec.Error and an "alias" of
os/exec.ErrNotFound.

v1.0.1-alpha.6

09 Jan 21:03
91653df
Compare
Choose a tag to compare
v1.0.1-alpha.6 Pre-release
Pre-release

Includes first cut of cmd/testscript. See https://github.com/rogpeppe/go-internal/blob/master/cmd/testscript/README.md for more details.

v1.0.1-alpha.5

09 Jan 20:54
abaa39a
Compare
Choose a tag to compare
v1.0.1-alpha.5 Pre-release
Pre-release
cmd/testscript: minor bug fixes (#44)