Skip to content

Unit tests seems to be wrong #5

@hiteshsethi

Description

@hiteshsethi

https://github.com/tomasen/realip/blob/master/realip_test.go#L55

This line will override every value, failing the intent of the test. Should have been string concatenated first.

Final value for this(https://github.com/tomasen/realip/blob/master/realip_test.go#L80) line is 119.14.55.11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions