Skip to content

Commit 632e844

Browse files
committed
chore: Adjust for newer APIs
1 parent 7b28d6d commit 632e844

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/dotnet-watch.Tests/HotReload/ApplyDeltaTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public async Task HandleTypeLoadFailure()
7878

7979
await App.AssertWaitingForChanges();
8080

81-
var newSrc = /* lang=c#-test */"""
81+
var newSrc = """
8282
class DepSubType : Dep
8383
{
8484
int F() => 2;
@@ -128,9 +128,9 @@ public async Task HandleMissingAssemblyFailure()
128128
var testAsset = TestAssets.CopyTestAsset("WatchAppMissingAssemblyFailure")
129129
.WithSource();
130130

131-
await App.StartWatcherAsync(testAsset, "App");
131+
App.Start(testAsset, [], "App");
132132

133-
await App.WaitForSessionStarted();
133+
await App.AssertWaitingForChanges();
134134

135135
var newSrc = /* lang=c#-test */"""
136136
class DepSubType : Dep.DepType

0 commit comments

Comments
 (0)