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

    }

    func testThatParserUnderstandsMultipleItemObjects() {
        for (s, expect) in [
            ("{\"a\":\"b\",\"c\":\"d\"}",
                ["a":JSON.String("b"),"c":.String("d")]),
            ("{  \"foo\"  :  [null]   ,   \"bar\":  true  }",

    }

    func testThatParserUnderstandsSingleItemObjects() {
        for (string, expect) in [
            ("{\"a\":\"b\"}", ["a":JSON.String("b")]),
            ("{  \"foo\"  :  [null]  }", ["foo": JSON.Array([.Null])]),
            ("{  \"a\" : { \"b\": true }  }", ["a": JSON.Dictionary(["b":.Bool(true)])]),
        ] {
            let result = JSONFromString(string)
            switch result {
            case .Success(let value):
                XCTAssertEqual(value, JSON.Dictionary(expect))
