     }
 
     func testThatParserRejectsInvalidNumbers() {
-        for (s, expectedError) in [
+        for (string, expectedError) in [
             ("012",   JSONParser.Error.EndOfStreamGarbage(offset: 1)),
             ("0.1.2", JSONParser.Error.EndOfStreamGarbage(offset: 3)),
             ("-.123", JSONParser.Error.NumberSymbolMissingDigits(offset: 0)),

            }
        }

        for (s, shouldBeDouble) in [
            ("  -0  ", -0.0),
            ("  -0.0  ", 0.0),
            ("123.0", 123.0),

    }

    func testThatParserUnderstandsMultipleItemArrays() {
        for (string, expect) in [
            (" [ null   ,   \"foo\" ] ", [JSON.Null, .String("foo")]),
            ("[true,true,false]", [JSON.Bool(true), .Bool(true), .Bool(false)]),
            ("[ [\"nested\",null], [[\"doubly\",true]]   ]",
                [JSON.Array([.String("nested"), .Null]),
                 .Array([.Array([.String("doubly"), .Bool(true)])])])
        ] {
            let result = JSONFromString(string)
            switch result {
            case .Success(let value):
                XCTAssertEqual(value, JSON.Array(expect))
