documentation example test failing

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.0.0-rc1
    • Affects Version/s: None
    • Component/s: Documentation
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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
              Reporter:
              Susan Kerschbaumer (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: