This repository was archived by the owner on Dec 24, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
tests/ServiceStack.Text.Tests Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -35,9 +35,7 @@ public void Does_use_CsvConfig()
3535 csv = maps . ToCsv ( ) ;
3636 Assert . That ( csv , Is . EqualTo ( "Id|Name\n \n 1|Value\n \n 2|`Value|Escaped`\n \n " ) ) ;
3737
38- CsvConfig . ItemSeperatorString = JsWriter . ItemSeperatorString ;
39- CsvConfig . ItemDelimiterString = JsWriter . QuoteString ;
40- CsvConfig . RowSeparatorString = Environment . NewLine ;
38+ CsvConfig . Reset ( ) ;
4139 }
4240 }
4341}
Original file line number Diff line number Diff line change @@ -297,7 +297,7 @@ public void Can_deserialize_with_new_line()
297297 var model = new ModelWithIdAndName
298298 {
299299 Id = 1 ,
300- Name = "Hi I'm" + Environment . NewLine + "new line :)"
300+ Name = "Hi I'm\r \n new line :)"
301301 } ;
302302
303303 const string json = "{\" Id\" :1,\" Name\" :\" Hi I'm\\ r\\ nnew line :)\" }" ;
Original file line number Diff line number Diff line change @@ -95,7 +95,8 @@ public void Does_dump_delegate_info()
9595 Action x = ( ) => { } ;
9696 Assert . That ( x . Dump ( ) , Is . EqualTo ( "Void <Does_dump_delegate_info>b__4()" ) //VS 2012
9797 . Or . EqualTo ( "Void <Does_dump_delegate_info>b__10_0()" ) //VS 2015
98- . Or . EqualTo ( "Void <Does_dump_delegate_info>b__9_0()" ) //NET Core
98+ . Or . EqualTo ( "Void <Does_dump_delegate_info>b__9_0()" ) //NET Core
99+ . Or . EqualTo ( "Void <Does_dump_delegate_info>m__1()" ) //Mono
99100 ) ;
100101 }
101102
You can’t perform that action at this time.
0 commit comments