diff options
author | JamesNK <james@newtonking.com> | 2012-02-09 15:18:37 +0400 |
---|---|---|
committer | JamesNK <james@newtonking.com> | 2012-02-09 15:18:37 +0400 |
commit | 3bebf5c7659c6d092ee06bbd2de9aa6aa5ba452e (patch) | |
tree | bb48434a8551a3d3f19ce6f50cca45e9350aef8a /Src/Newtonsoft.Json.Tests | |
parent | 06d92a8963ac73dbbf346f9a9ee0dcbbc3d370cb (diff) |
-Fixed JsonReader.ReadAsDateTimeOffset error message
Diffstat (limited to 'Src/Newtonsoft.Json.Tests')
-rw-r--r-- | Src/Newtonsoft.Json.Tests/Linq/JTokenReaderTest.cs | 2 |
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}";
|