go/format: handle whitespace-only input correctly
Applied identical change to cmd/gofmt/internal.go. Fixes #11275. Change-Id: Icb4bf0460c94c9e2830dd0d62c69376774cbda30 Reviewed-on: https://go-review.googlesource.com/15154Reviewed-by: Alan Donovan <adonovan@google.com>
Showing
Please
register
or
sign in
to comment