client/dotnet: assert failed expand leaves node unexpanded

This commit is contained in:
Joseph Doherty
2026-05-28 15:16:07 -04:00
parent 76a042d663
commit 5032166106
@@ -106,6 +106,8 @@ public sealed class LazyBrowseNodeTests
new RpcException(new Status(StatusCode.NotFound, "Parent not found")))); new RpcException(new Status(StatusCode.NotFound, "Parent not found"))));
await Assert.ThrowsAsync<MxGatewayException>(async () => await roots[0].ExpandAsync()); await Assert.ThrowsAsync<MxGatewayException>(async () => await roots[0].ExpandAsync());
Assert.False(roots[0].IsExpanded);
Assert.Empty(roots[0].Children);
} }
/// <summary> /// <summary>