diff options
| author | Jonathan Amsterdam <jba@google.com> | 2022-04-22 09:13:48 -0400 |
|---|---|---|
| committer | Jonathan Amsterdam <jba@google.com> | 2022-05-10 16:17:51 +0000 |
| commit | 30a2750a91616f8120266b79ea52d293a2398b86 (patch) | |
| tree | e5d9424dd680c30f65d2c57c5610007590c2bc51 /src/os/exec/exec.go | |
| parent | 8fdd277fe6ee1770b12650a4bc2bc257e49c8065 (diff) | |
| download | go-30a2750a91616f8120266b79ea52d293a2398b86.tar.xz | |
go/doc: move example tests into files
Move the test cases for doc.Examples from example_test.go into
their own files under testdata/examples.
This makes example_test.go easier to read and collapses several
similar test functions into one.
It will also make it less cumbersome to add large examples later.
Change-Id: Id220c1205e94027d14291898e541b69344842686
Reviewed-on: https://go-review.googlesource.com/c/go/+/401756
Run-TryBot: Jonathan Amsterdam <jba@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
Diffstat (limited to 'src/os/exec/exec.go')
0 files changed, 0 insertions, 0 deletions
