Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-768

documentation example test failing

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.0.0-rc1
    • Affects Version/s: None
    • Component/s: Documentation
    • None

      I get this error when running the docs examples test

      ~/go/examples $ go test

      — FAIL: TestDocumentationExamples (0.77s)

              Error Trace:    examples.go:1119

                  examples_test.go:33

      Error:      Received unexpected error:

                  argument to Decode must be a pointer to a type, but got bson.Document{}

      FAIL

      exit status 1

      FAIL _/Users/skersch/go/examples 0.780s

       

      Note that these tests were run with context.TODO() in lieu of context.Background()

       

            Assignee:
            Unassigned Unassigned
            Reporter:
            sue.kerschbaumer@mongodb.com Susan Kerschbaumer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: