Q:

swift 4 / firebase Super Simple read / write. Can't read

Super newbie!  I just want to practice reading and writing for Firebase.  My write code works!  I've consulted dozens of examples online and still can't get the read portion working.
As a newbie, I've also tried some simple debug techniques but no help.
Exactly how do I fix this code so that the read happens (and I know it happened because the code prints to terminal)?
I'd really like a Swift 4 based solution, thanks.
My repo
class ViewController: UIViewController {

override func viewDidLoad() {
    super.viewDidLoad()

    var ref:DatabaseReference!
    var refHandle:DatabaseHandle!
    ref = Database.database().reference()
    ref.child("test").setValue("name: Bruce")

//Nothing below works
    refHandle = ref.child("test").observe(DataEventType.childAdded, with: { (snapshot) in
        let info = snapshot.value as? String
        print(info as Any)
    })

}

Note that my Firebase DB is enabled for READ and WRITE.  I have also tried observeSingleInsance (or whatever it is when you read just once).
I know the write works because i can see the data in the Firebase console

A:

I believe your problem is in setValue("name: Bruce"), where you set the node "test" to "name: Bruce", as opposed to "name": "Bruce"
if you change that to say
updateChildValues(["name": "Bruce"])

surely it would work.

