Skip to content

Commit 664a231

Browse files
committed
actually make the change to descending
1 parent a3504e9 commit 664a231

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/MongoDB.Driver.Tests/SortDefinitionBuilderTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ public void Descending_typed_using_extension_methods()
193193
var subject = CreateSubject<Person>();
194194

195195
var sort = subject.Ascending("FirstName")
196-
.Descending("LastName");
196+
.Descending(x => x.LastName);
197197

198198
Assert(sort, "{fn: 1, ln: -1}");
199199
}

0 commit comments

Comments
 (0)