-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
testing: modify got,want equal comparison for unordered example output #72025
Conversation
This PR (HEAD: a2b991c) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/653556. Important tips:
|
Message from Alan Donovan: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
Message from Ian Lance Taylor: Patch Set 1: Commit-Queue+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
Message from Go LUCI: Patch Set 1: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2025-02-28T20:46:00Z","revision":"cf9ef6cd81aa7fd3e3107761f3e500ced978bc83"} Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
Message from Ian Lance Taylor: Patch Set 1: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
Message from Go LUCI: Patch Set 1: This CL has passed the run Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
Message from Go LUCI: Patch Set 1: LUCI-TryBot-Result+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
Message from Jes Cok: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
a2b991c
to
a9091fa
Compare
This PR (HEAD: a9091fa) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/653556. Important tips:
|
Message from Jes Cok: Patch Set 6: Commit-Queue+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
Message from Go LUCI: Patch Set 6: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2025-03-01T05:10:46Z","revision":"c8c6b22326022a23ab5e58ca3220a3bc71ee8318"} Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
Message from Jes Cok: Patch Set 6: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
Message from Go LUCI: Patch Set 6: This CL has failed the run. Reason: Tryjob golang/try/gotip-linux-amd64 has failed with summary (view all results):
Build or test failure, click here for results. To reproduce, try Additional links for debugging: Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
Message from Go LUCI: Patch Set 6: LUCI-TryBot-Result-1 Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
a9091fa
to
b2c5a2a
Compare
Message from Jes Cok: Patch Set 6: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
This PR (HEAD: b2c5a2a) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/653556. Important tips:
|
Message from Ian Lance Taylor: Patch Set 7: Commit-Queue+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
Message from Go LUCI: Patch Set 7: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2025-03-01T06:06:22Z","revision":"3b11b49ff1c502b58cba9ca6441ff4891c6add99"} Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
Message from Ian Lance Taylor: Patch Set 7: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
Message from Go LUCI: Patch Set 7: This CL has passed the run Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
Message from Go LUCI: Patch Set 7: LUCI-TryBot-Result+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
b2c5a2a
to
035cf3a
Compare
This PR (HEAD: 035cf3a) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/653556. Important tips:
|
Message from Jes Cok: Patch Set 8: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
Message from Jes Cok: Patch Set 9: Commit-Queue+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
Message from Go LUCI: Patch Set 9: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2025-03-02T07:53:38Z","revision":"5935cdcec296e6e1526479ea7e5b431f53bfbade"} Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
Message from Jes Cok: Patch Set 9: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
Message from Go LUCI: Patch Set 9: This CL has passed the run Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
Message from Go LUCI: Patch Set 9: LUCI-TryBot-Result+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
Message from Milan Jadavan: Patch Set 9: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
Message from Ian Lance Taylor: Patch Set 9: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
Introduce sortedLinesEqual function which avoids strings.Join calls, and replace strings equal comparation with slices.Equal.
035cf3a
to
a71aa58
Compare
This PR (HEAD: a71aa58) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/653556. Important tips:
|
Message from Jes Cok: Patch Set 10: Commit-Queue+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
Message from Go LUCI: Patch Set 10: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2025-03-03T13:37:30Z","revision":"269e5f9c003281ff8534cfe2bdc605f85b0781d9"} Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
Message from Jes Cok: Patch Set 10: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
Message from Go LUCI: Patch Set 10: This CL has passed the run Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
Message from Go LUCI: Patch Set 10: LUCI-TryBot-Result+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
Message from Jes Cok: Patch Set 10: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
Message from Ian Lance Taylor: Patch Set 10: Auto-Submit+1 Code-Review+2 Commit-Queue+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
Message from Go LUCI: Patch Set 10: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2025-03-04T06:30:36Z","revision":"269e5f9c003281ff8534cfe2bdc605f85b0781d9"} Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
Message from Ian Lance Taylor: Patch Set 10: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
Message from Go LUCI: Patch Set 10: This CL has passed the run Please don’t reply on this GitHub thread. Visit golang.org/cl/653556. |
This change eliminates sortLines function to avoid strings.Join calls. It's not a performance problem, this change tries to make the comparison more straightforward. Change-Id: I3a7ae877c9fc927833ab9f143205f7e007197f60 GitHub-Last-Rev: a71aa58 GitHub-Pull-Request: #72025 Reviewed-on: https://go-review.googlesource.com/c/go/+/653556 Reviewed-by: Junyang Shao <shaojunyang@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com>
This PR is being closed because golang.org/cl/653556 has been merged. |
This change eliminates sortLines function to avoid strings.Join calls.
It's not a performance problem, this change tries to make the comparison
more straightforward.