Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/Newtonsoft.Json.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamesNK <james@newtonking.com>2012-02-09 15:18:37 +0400
committerJamesNK <james@newtonking.com>2012-02-09 15:18:37 +0400
commit3bebf5c7659c6d092ee06bbd2de9aa6aa5ba452e (patch)
treebb48434a8551a3d3f19ce6f50cca45e9350aef8a /Src/Newtonsoft.Json.Tests
parent06d92a8963ac73dbbf346f9a9ee0dcbbc3d370cb (diff)
-Fixed JsonReader.ReadAsDateTimeOffset error message
Diffstat (limited to 'Src/Newtonsoft.Json.Tests')
-rw-r--r--Src/Newtonsoft.Json.Tests/Linq/JTokenReaderTest.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Newtonsoft.Json.Tests/Linq/JTokenReaderTest.cs b/Src/Newtonsoft.Json.Tests/Linq/JTokenReaderTest.cs
index 36e784e..1d3a35e 100644
--- a/Src/Newtonsoft.Json.Tests/Linq/JTokenReaderTest.cs
+++ b/Src/Newtonsoft.Json.Tests/Linq/JTokenReaderTest.cs
@@ -133,7 +133,7 @@ namespace Newtonsoft.Json.Tests.Linq
}
[Test]
- [ExpectedException(typeof(JsonReaderException), ExpectedMessage = "Error reading date. Expected bytes but got Boolean. Line 1, position 14.")]
+ [ExpectedException(typeof(JsonReaderException), ExpectedMessage = "Error reading date. Expected date but got Boolean. Line 1, position 14.")]
public void ReadAsDateTimeOffsetBoolean()
{
string json = @"{""Offset"":true}";