diff --git a/FaunaDB.Client.Test/StreamingTest.cs b/FaunaDB.Client.Test/StreamingTest.cs index b7e484af..d57823fc 100644 --- a/FaunaDB.Client.Test/StreamingTest.cs +++ b/FaunaDB.Client.Test/StreamingTest.cs @@ -39,8 +39,8 @@ public void TestStreamFailsIfIncorrectValuePassedToStreamMethod() { AsyncTestDelegate doc = async () => { await adminClient.Stream(Collection("streams_test")); }; var ex = Assert.ThrowsAsync(doc); - Assert.AreEqual("invalid argument: Expected a Document Ref or Version, got Collection Ref.", ex.Message); - AssertErrors(ex, code: "invalid argument", description: "Expected a Document Ref or Version, got Collection Ref."); + Assert.AreEqual("invalid argument: Expected a Document Ref or Version, or a Set Ref, got Collection Ref.", ex.Message); + AssertErrors(ex, code: "invalid argument", description: "Expected a Document Ref or Version, or a Set Ref, got Collection Ref."); } [Test]