Skip to content
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

Remove unnecessary _ = from the code #12336

Merged
merged 5 commits into from Feb 6, 2024
Merged

Conversation

molnard
Copy link
Collaborator

@molnard molnard commented Feb 1, 2024

Consequence of #12335.

@molnard molnard requested a review from Whem February 2, 2024 12:31
@molnard
Copy link
Collaborator Author

molnard commented Feb 5, 2024

Something is still not good with the raw string literal. I guess Environment.Newline gives back different values on mac and linux. WIP

@turbolay
Copy link
Collaborator

turbolay commented Feb 6, 2024

I would suggest reverting 3b3a69f and applying this patch

+++ b/WalletWasabi.Tests/UnitTests/Tor/Socks5/Pool/TorHttpPoolTests.cs
@@ -280,7 +280,7 @@ public class TorHttpPoolTests
                                Content-Length: 0
                                X-GitHub-Request-Id: AFCA:0EE6:208343C:21F2436:6395A726
 
-
+                               Dummy response
                                """.ReplaceLineEndings("\r\n");
 
                        await serverWriter1.WriteAsync(serverResponse1.AsMemory(), timeoutCts.Token);

Copy link
Collaborator

@Whem Whem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@molnard
Copy link
Collaborator Author

molnard commented Feb 6, 2024

applying this patch

It is not working.

@molnard
Copy link
Collaborator Author

molnard commented Feb 6, 2024

I do not have more time to play with this, created an issue: #12368.

@molnard molnard marked this pull request as ready for review February 6, 2024 11:39
@molnard molnard merged commit 13d6116 into zkSNACKs:master Feb 6, 2024
7 checks passed
@turbolay
Copy link
Collaborator

turbolay commented Feb 6, 2024

It is not working.

It was on my environment, weird

@molnard molnard deleted the applyunusedrule branch February 6, 2024 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants