File tree Expand file tree Collapse file tree 4 files changed +8
-9
lines changed
Dapper.AOT.Test.Integration.Executables/Models
Dapper.AOT.Test.Integration Expand file tree Collapse file tree 4 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -13,17 +13,16 @@ jobs:
1313 runs-on : ubuntu-20.04
1414
1515 steps :
16- - uses : actions/checkout@v2
16+ - uses : actions/checkout@v4
1717 with :
1818 fetch-depth : 0 # depth is needed for nbgv
1919
2020 - name : Setup .NET
21- uses : actions/setup-dotnet@v1
21+ uses : actions/setup-dotnet@v4
2222 with :
2323 dotnet-version : |
2424 6.0.x
25- 8.0.x
26- include-prerelease : true
25+ 8.0.x
2726
2827 - name : Build
2928 run : dotnet build Dapper.AOT.sln -c Debug
Original file line number Diff line number Diff line change @@ -13,17 +13,16 @@ jobs:
1313 runs-on : windows-latest
1414
1515 steps :
16- - uses : actions/checkout@v2
16+ - uses : actions/checkout@v4
1717 with :
1818 fetch-depth : 0 # depth is needed for nbgv
1919
2020 - name : Setup .NET
21- uses : actions/setup-dotnet@v1
21+ uses : actions/setup-dotnet@v4
2222 with :
2323 dotnet-version : |
2424 6.0.x
2525 8.0.x
26- include-prerelease : true
2726
2827 - uses : dotnet/nbgv@master
2928 with :
Original file line number Diff line number Diff line change @@ -5,5 +5,5 @@ public class DbStringPoco
55 public const string TableName = "dbStringPoco" ;
66
77 public int Id { get ; set ; }
8- public string Name { get ; set ; }
8+ public string ? Name { get ; set ; }
99}
Original file line number Diff line number Diff line change @@ -37,7 +37,8 @@ public void DbString_BasicUsage_InterceptsAndReturnsExpectedData()
3737 {
3838 var result = ExecuteInterceptedUserCode < DbStringUsage , DbStringPoco > ( DbConnection ) ;
3939
40+ Assert . NotNull ( result ) ;
4041 Assert . True ( result . Id . Equals ( 1 ) ) ;
41- Assert . True ( result . Name . Equals ( "my-dbString" , StringComparison . InvariantCultureIgnoreCase ) ) ;
42+ Assert . Equal ( "my-dbString" , result . Name ) ;
4243 }
4344}
You can’t perform that action at this time.
0 commit comments