Commit 27c1686
committed
Use explicit IAsyncLifetime/IAsyncDisposable
Convert public async Task InitializeAsync/DisposeAsync methods to explicit interface implementations returning ValueTask (IAsyncLifetime.InitializeAsync and IAsyncDisposable.DisposeAsync). This hides the lifecycle methods from the public surface of the test class and aligns the test teardown/initialization with async disposal/lifecycle patterns.1 parent ba31be2 commit 27c1686
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
0 commit comments