From 0a451593766660fadef9363288ce294f0c4480ab Mon Sep 17 00:00:00 2001 From: JamesNK Date: Sat, 10 Oct 2009 06:14:41 +0000 Subject: [PATCH] -Fix test --- .../Serialization/ConstructorHandlingTests.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Src/Newtonsoft.Json.Tests/Serialization/ConstructorHandlingTests.cs b/Src/Newtonsoft.Json.Tests/Serialization/ConstructorHandlingTests.cs index 321da26f..de48b15e 100644 --- a/Src/Newtonsoft.Json.Tests/Serialization/ConstructorHandlingTests.cs +++ b/Src/Newtonsoft.Json.Tests/Serialization/ConstructorHandlingTests.cs @@ -2,6 +2,7 @@ using System.Linq; using System.Reflection; using System.Text; +using Newtonsoft.Json.Tests.TestObjects; using NUnit.Framework; namespace Newtonsoft.Json.Tests.Serialization @@ -9,7 +10,7 @@ namespace Newtonsoft.Json.Tests.Serialization public class ConstructorHandlingTests : TestFixtureBase { [Test] - [ExpectedException(typeof(JsonSerializationException), ExpectedMessage = "Unable to find a constructor to use for type Newtonsoft.Json.Tests.Serialization.PrivateConstructorTestClass. A class should either have a default constructor or only one constructor with arguments.")] + [ExpectedException(typeof(JsonSerializationException), ExpectedMessage = "Unable to find a constructor to use for type Newtonsoft.Json.Tests.TestObjects.PrivateConstructorTestClass. A class should either have a default constructor or only one constructor with arguments.")] public void FailWithPrivateConstructorAndDefault() { string json = @"{Name:""Name!""}";