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

update newline character #1419

Merged
merged 17 commits into from
Dec 2, 2024
Merged
Prev Previous commit
Next Next commit
attempt to fix textwriter error
  • Loading branch information
alinpahontu2912 authored Nov 28, 2024
commit 1afa297ad52fa6f3724567b3a7f2ba69a48d9f5e
1 change: 1 addition & 0 deletions test/TorchSharpTest/TestTorchTensor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ public void TestTensorPrint()
{
Console.SetOut(sw);
t.print();
Console.Out.Flush();
var result = sw.ToString();
Assert.Equal(expectedOutput, result);
}
Expand Down