File tree Expand file tree Collapse file tree 3 files changed +18
-2
lines changed
main/csharp/Windows/Win32
test/csharp/ch/cyberduck/core/I18n Expand file tree Collapse file tree 3 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 2525 <PackageReference Update =" Microsoft.Toolkit.Uwp.Notifications" Version =" 7.1.2" />
2626 <PackageReference Update =" Microsoft.Windows.CsWin32" Version =" 0.3.106" />
2727 <PackageReference Update =" Microsoft.Windows.SDK.Contracts" Version =" 10.0.22000.196" />
28- <PackageReference Update =" NUnit" Version =" 4.1 .0" />
28+ <PackageReference Update =" NUnit" Version =" 4.2 .0" />
2929 <PackageReference Update =" NUnit.Console" Version =" 3.20.0" />
3030 <PackageReference Update =" NUnit3TestAdapter" Version =" 4.5.0" />
3131 <PackageReference Update =" ObjectListView.Official" Version =" 2.9.1" />
Original file line number Diff line number Diff line change @@ -15,5 +15,5 @@ public static PCWSTR DangerousFromSpan(in ReadOnlySpan<char> value)
1515
1616 public PWSTR DangerousAsPWSTR ( ) => Value ;
1717
18- public string ToString ( int length ) => Value is null ? new string ( Value , 0 , length ) : null ;
18+ public readonly string ToString ( int length ) => Value is null ? null : new string ( Value , 0 , length ) ;
1919}
Original file line number Diff line number Diff line change 1+ using Ch . Cyberduck . Core . I18n ;
2+ using NUnit . Framework ;
3+
4+ namespace Cyberduck . Core . Test . I18n
5+ {
6+ [ TestFixture ]
7+ public class StringLoaderTest
8+ {
9+ [ Test ]
10+ public void LoadString ( )
11+ {
12+ using StringLoader stringLoader = new ( ) ;
13+ Assert . That ( stringLoader . GetString ( 30396u ) , Is . Not . WhiteSpace ) ;
14+ }
15+ }
16+ }
You can’t perform that action at this time.
0 commit comments