From ca8b31920a23541dda56bc76d3ddcaef3c3c0866 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Tue, 13 Sep 2022 09:51:55 -0400 Subject: cmd/api: make check pickier about api/*.txt We don't have a formatter for these files, so check here that they are in the right form to allow 'cat next/*.txt >go1.X.txt' at the end of each cycle. Fix the api files that the check finds. Change-Id: I0c5e4ab11751c7d0afce32503131d487313f41c0 Reviewed-on: https://go-review.googlesource.com/c/go/+/431335 Reviewed-by: Dmitri Shuralyov Auto-Submit: Russ Cox Reviewed-by: Dmitri Shuralyov Run-TryBot: Russ Cox TryBot-Result: Gopher Robot --- api/next/42537.txt | 2 +- api/next/43620.txt | 2 +- api/next/45899.txt | 2 +- api/next/46746.txt | 2 +- api/next/50429.txt | 2 +- api/next/51896.txt | 2 +- api/next/53482.txt | 4 ++-- 7 files changed, 8 insertions(+), 8 deletions(-) (limited to 'api') diff --git a/api/next/42537.txt b/api/next/42537.txt index 4f2446aaf3..bc83639a1d 100644 --- a/api/next/42537.txt +++ b/api/next/42537.txt @@ -1,4 +1,4 @@ pkg bytes, func CutPrefix([]uint8, []uint8) ([]uint8, bool) #42537 pkg bytes, func CutSuffix([]uint8, []uint8) ([]uint8, bool) #42537 pkg strings, func CutPrefix(string, string) (string, bool) #42537 -pkg strings, func CutSuffix(string, string) (string, bool) #42537 \ No newline at end of file +pkg strings, func CutSuffix(string, string) (string, bool) #42537 diff --git a/api/next/43620.txt b/api/next/43620.txt index 9d272fd0c7..6753f1527f 100644 --- a/api/next/43620.txt +++ b/api/next/43620.txt @@ -1 +1 @@ -pkg testing, method (*B) Elapsed() time.Duration #43620 \ No newline at end of file +pkg testing, method (*B) Elapsed() time.Duration #43620 diff --git a/api/next/45899.txt b/api/next/45899.txt index a823142b15..9b06edbb3c 100644 --- a/api/next/45899.txt +++ b/api/next/45899.txt @@ -2,4 +2,4 @@ pkg io, type OffsetWriter struct #45899 pkg io, func NewOffsetWriter(WriterAt, int64) *OffsetWriter #45899 pkg io, method (*OffsetWriter) Write([]uint8) (int, error) #45899 pkg io, method (*OffsetWriter) WriteAt([]uint8, int64) (int, error) #45899 -pkg io, method (*OffsetWriter) Seek(int64, int) (int64, error) #45899 \ No newline at end of file +pkg io, method (*OffsetWriter) Seek(int64, int) (int64, error) #45899 diff --git a/api/next/46746.txt b/api/next/46746.txt index ae07682b34..f48771d522 100644 --- a/api/next/46746.txt +++ b/api/next/46746.txt @@ -1,2 +1,2 @@ pkg reflect, method (Value) Comparable() bool #46746 -pkg reflect, method (Value) Equal(Value) bool #46746 \ No newline at end of file +pkg reflect, method (Value) Equal(Value) bool #46746 diff --git a/api/next/50429.txt b/api/next/50429.txt index 558937de1c..2c51384c68 100644 --- a/api/next/50429.txt +++ b/api/next/50429.txt @@ -1 +1 @@ -pkg go/ast, type RangeStmt struct, Range token.Pos #50429 \ No newline at end of file +pkg go/ast, type RangeStmt struct, Range token.Pos #50429 diff --git a/api/next/51896.txt b/api/next/51896.txt index d4ef14cfa2..ca7ecd069b 100644 --- a/api/next/51896.txt +++ b/api/next/51896.txt @@ -1 +1 @@ -pkg unicode/utf16, func AppendRune([]uint16, int32) []uint16 #51896 \ No newline at end of file +pkg unicode/utf16, func AppendRune([]uint16, int32) []uint16 #51896 diff --git a/api/next/53482.txt b/api/next/53482.txt index a54894498f..d437c8abb2 100644 --- a/api/next/53482.txt +++ b/api/next/53482.txt @@ -1,2 +1,2 @@ -pkg net, const FlagRunning = 32 #53482 -pkg net, const FlagRunning Flags #53482 +pkg net, const FlagRunning = 32 #53482 +pkg net, const FlagRunning Flags #53482 -- cgit v1.3-5-g9baa