shaj13 / go-guardian

Go-Guardian is a golang library that provides a simple, clean, and idiomatic way to create powerful modern API and web authentication.
MIT License
559 stars 56 forks source link

auth/strategies/digest/header_test.go failed periodically #40

Closed shaj13 closed 4 years ago

shaj13 commented 4 years ago

Error:

    header_test.go:186: 
            Error Trace:    header_test.go:186
            Error:          Not equal: 
                            expected: "Digest username=test, nc=00000001"
                            actual  : "Digest nc=00000001, username=test"

                            Diff:
                            --- Expected
                            +++ Actual
                            @@ -1 +1 @@
                            -Digest username=test, nc=00000001
                            +Digest nc=00000001, username=test
            Test:           TestString

Link: https://github.com/shaj13/go-guardian/blob/master/auth/strategies/digest/header_test.go#L181

Suggested Solution: