diff Implab.Test/Implab.Format.Test/JsonTests.cs @ 184:d6a8cba73acc ref20160224

working on runnable component
author cin
date Sat, 16 Apr 2016 03:23:26 +0300
parents 4f82e0f161c3
children
line wrap: on
line diff
--- a/Implab.Test/Implab.Format.Test/JsonTests.cs	Fri Mar 25 02:49:02 2016 +0300
+++ b/Implab.Test/Implab.Format.Test/JsonTests.cs	Sat Apr 16 03:23:26 2016 +0300
@@ -10,7 +10,7 @@
         public void TestScannerValidTokens() {
             using (var scanner = new JSONScanner(@"9123, -123, 0, 0.1, -0.2, -0.1e3, 1.3E-3, ""some \t\n\u0020 text"", literal []{}:")) {
 
-                Tuple<JsonTokenType,object>[] expexted = new [] {
+                Tuple<JsonTokenType,object>[] expexted = {
                     new Tuple<JsonTokenType,object>(JsonTokenType.Number, 9123d),
                     new Tuple<JsonTokenType,object>(JsonTokenType.ValueSeparator, ", "),
                     new Tuple<JsonTokenType,object>(JsonTokenType.Number, -123d),