diff options
| author | Russ Cox <rsc@golang.org> | 2021-01-07 12:26:06 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2021-01-07 18:26:42 +0000 |
| commit | 3f3690dc9cf1f7c0ddca72d1c5313be4022ece58 (patch) | |
| tree | f302f9307c7019340957396f040613f2962e6417 /git-codereview/gofmt.go | |
| parent | 541f6aec3b30c1bd064ea95cdaaf57f4e65bef4d (diff) | |
| download | go-x-review-3f3690dc9cf1f7c0ddca72d1c5313be4022ece58.tar.xz | |
git-codereview: add a few more tests
Change-Id: I17ad065e8b4c1eb00cdd2f17af82be76bae4fc09
Reviewed-on: https://go-review.googlesource.com/c/review/+/279717
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'git-codereview/gofmt.go')
| -rw-r--r-- | git-codereview/gofmt.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-codereview/gofmt.go b/git-codereview/gofmt.go index bfba123..7986d07 100644 --- a/git-codereview/gofmt.go +++ b/git-codereview/gofmt.go @@ -23,7 +23,7 @@ func cmdGofmt(args []string) { flags.Parse(args) if len(flag.Args()) > 0 { fmt.Fprintf(stderr(), "Usage: %s gofmt %s [-l]\n", progName, globalFlags) - os.Exit(2) + exit(2) } f := gofmtCommand |
