From a7b631a5f94bdda1533e90e965411871fd318c64 Mon Sep 17 00:00:00 2001 From: JamesNK Date: Tue, 6 Jan 2009 08:05:04 +0000 Subject: [PATCH] -Fix test --- Src/Newtonsoft.Json.Tests/JsonSerializerTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Newtonsoft.Json.Tests/JsonSerializerTest.cs b/Src/Newtonsoft.Json.Tests/JsonSerializerTest.cs index 665be942..ed5a74e2 100644 --- a/Src/Newtonsoft.Json.Tests/JsonSerializerTest.cs +++ b/Src/Newtonsoft.Json.Tests/JsonSerializerTest.cs @@ -402,7 +402,7 @@ keyword such as type of business."" } [Test] - [ExpectedException(typeof(JsonSerializationException), ExpectedMessage = @"Could not find member 'Price' on object of type 'RuntimeType'")] + [ExpectedException(typeof(JsonSerializationException), ExpectedMessage = @"Could not find member 'Price' on object of type 'ProductShort'")] public void MissingMemberDeserialize() { Product product = new Product();