Skip to content

Commit 13f8488

Browse files
committed
Undo spurious test changes
The go libraries on my local computer seem to have slightly different go libraries for some reason.
1 parent 270fa8d commit 13f8488

File tree

1 file changed

+6
-31
lines changed

1 file changed

+6
-31
lines changed

go/ql/test/library-tests/semmle/go/Function/TypeParamType.expected

Lines changed: 6 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -58,46 +58,29 @@ numberOfTypeParameters
5858
| codeql-go-tests/function.multipleAnonymousTypeParamsType.f | 1 | _ | interface { string } |
5959
| codeql-go-tests/function.multipleAnonymousTypeParamsType.f | 2 | _ | interface { } |
6060
| github.com/anotherpkg.GenericFunctionInAnotherPackage | 0 | T | interface { } |
61-
| internal/abi.Escape | 0 | T | interface { } |
6261
| internal/bytealg.HashStr | 0 | T | interface { string \| []uint8 } |
6362
| internal/bytealg.HashStrRev | 0 | T | interface { string \| []uint8 } |
6463
| internal/bytealg.IndexRabinKarp | 0 | T | interface { string \| []uint8 } |
6564
| internal/bytealg.LastIndexRabinKarp | 0 | T | interface { string \| []uint8 } |
66-
| internal/runtime/atomic.Pointer.CompareAndSwap | 0 | T | interface { } |
67-
| internal/runtime/atomic.Pointer.CompareAndSwapNoWB | 0 | T | interface { } |
68-
| internal/runtime/atomic.Pointer.Load | 0 | T | interface { } |
69-
| internal/runtime/atomic.Pointer.Store | 0 | T | interface { } |
70-
| internal/runtime/atomic.Pointer.StoreNoWB | 0 | T | interface { } |
71-
| iter.Pull | 0 | V | interface { } |
72-
| iter.Pull2 | 0 | K | interface { } |
73-
| iter.Pull2 | 1 | V | interface { } |
74-
| iter.Seq | 0 | V | interface { } |
75-
| iter.Seq2 | 0 | K | interface { } |
76-
| iter.Seq2 | 1 | V | interface { } |
77-
| reflect.rangeNum | 1 | N | interface { int64 \| uint64 } |
7865
| runtime.fandbits | 0 | F | floaty |
7966
| runtime.fmax | 0 | F | floaty |
8067
| runtime.fmin | 0 | F | floaty |
8168
| runtime.forbits | 0 | F | floaty |
8269
| runtime.noEscapePtr | 0 | T | interface { } |
83-
| slices.All | 0 | Slice | interface { ~[]E } |
84-
| slices.All | 1 | E | interface { } |
85-
| slices.AppendSeq | 0 | Slice | interface { ~[]E } |
86-
| slices.AppendSeq | 1 | E | interface { } |
87-
| slices.Backward | 0 | Slice | interface { ~[]E } |
88-
| slices.Backward | 1 | E | interface { } |
70+
| runtime/internal/atomic.Pointer.CompareAndSwap | 0 | T | interface { } |
71+
| runtime/internal/atomic.Pointer.CompareAndSwapNoWB | 0 | T | interface { } |
72+
| runtime/internal/atomic.Pointer.Load | 0 | T | interface { } |
73+
| runtime/internal/atomic.Pointer.Store | 0 | T | interface { } |
74+
| runtime/internal/atomic.Pointer.StoreNoWB | 0 | T | interface { } |
8975
| slices.BinarySearch | 0 | S | interface { ~[]E } |
9076
| slices.BinarySearch | 1 | E | Ordered |
9177
| slices.BinarySearchFunc | 0 | S | interface { ~[]E } |
9278
| slices.BinarySearchFunc | 1 | E | interface { } |
9379
| slices.BinarySearchFunc | 2 | T | interface { } |
94-
| slices.Chunk | 0 | Slice | interface { ~[]E } |
95-
| slices.Chunk | 1 | E | interface { } |
9680
| slices.Clip | 0 | S | interface { ~[]E } |
9781
| slices.Clip | 1 | E | interface { } |
9882
| slices.Clone | 0 | S | interface { ~[]E } |
9983
| slices.Clone | 1 | E | interface { } |
100-
| slices.Collect | 0 | E | interface { } |
10184
| slices.Compact | 0 | S | interface { ~[]E } |
10285
| slices.Compact | 1 | E | comparable |
10386
| slices.CompactFunc | 0 | S | interface { ~[]E } |
@@ -144,8 +127,6 @@ numberOfTypeParameters
144127
| slices.Min | 1 | E | Ordered |
145128
| slices.MinFunc | 0 | S | interface { ~[]E } |
146129
| slices.MinFunc | 1 | E | interface { } |
147-
| slices.Repeat | 0 | S | interface { ~[]E } |
148-
| slices.Repeat | 1 | E | interface { } |
149130
| slices.Replace | 0 | S | interface { ~[]E } |
150131
| slices.Replace | 1 | E | interface { } |
151132
| slices.Reverse | 0 | S | interface { ~[]E } |
@@ -156,11 +137,6 @@ numberOfTypeParameters
156137
| slices.SortFunc | 1 | E | interface { } |
157138
| slices.SortStableFunc | 0 | S | interface { ~[]E } |
158139
| slices.SortStableFunc | 1 | E | interface { } |
159-
| slices.Sorted | 0 | E | Ordered |
160-
| slices.SortedFunc | 0 | E | interface { } |
161-
| slices.SortedStableFunc | 0 | E | interface { } |
162-
| slices.Values | 0 | Slice | interface { ~[]E } |
163-
| slices.Values | 1 | E | interface { } |
164140
| slices.breakPatternsCmpFunc | 0 | E | interface { } |
165141
| slices.breakPatternsOrdered | 0 | E | Ordered |
166142
| slices.choosePivotCmpFunc | 0 | E | interface { } |
@@ -196,12 +172,11 @@ numberOfTypeParameters
196172
| slices.stableCmpFunc | 0 | E | interface { } |
197173
| slices.stableOrdered | 0 | E | Ordered |
198174
| slices.startIdx | 0 | E | interface { } |
175+
| slices.swap | 0 | E | interface { } |
199176
| slices.swapRangeCmpFunc | 0 | E | interface { } |
200177
| slices.swapRangeOrdered | 0 | E | Ordered |
201178
| slices.symMergeCmpFunc | 0 | E | interface { } |
202179
| slices.symMergeOrdered | 0 | E | Ordered |
203-
| strconv.bsearch | 0 | S | interface { ~[]E } |
204-
| strconv.bsearch | 1 | E | interface { ~uint16 \| ~uint32 } |
205180
| sync.OnceValue | 0 | T | interface { } |
206181
| sync.OnceValues | 0 | T1 | interface { } |
207182
| sync.OnceValues | 1 | T2 | interface { } |

0 commit comments

Comments
 (0)