Skip to content

Commit c913210

Browse files
committed
Enable nullable reference types for test project
1 parent e7ee88a commit c913210

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

FunctionsTests/ClientTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ namespace FunctionsTests
1313
[TestClass]
1414
public class ClientTests
1515
{
16-
Client _client;
17-
string _token;
16+
private Client _client = null!;
17+
private string _token = null!;
1818

1919
[TestInitialize]
2020
public void Initialize()

FunctionsTests/FunctionsTests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<PropertyGroup>
44
<TargetFramework>net8.0</TargetFramework>
55
<IsPackable>false</IsPackable>
6+
<Nullable>enable</Nullable>
67
</PropertyGroup>
78

89
<ItemGroup>

0 commit comments

Comments
 (0)