Skip to content

Small type format issue in one test #5969

@andre-kornetzky

Description

@andre-kornetzky

Hello. When comparing the test data, I noticed the following irregularities:

browser.yml, line 1722:
user_agent: Mozilla/5.0 (Linux; U; Android 4.3; en-us; Nexus 4 Build/JOP24G) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/37.0.0.0 Mobile Polarity/6.0.0 Safari/534.30

The version ends with an 0. Some Implementations (e.g. java) will skip trailing zeros in the test-definition (while it will parsed as a double value).
The Device Detector returns the string "534.30", which unfortunately is not equal to the parsed double number 534.3. For a better consistency, it would be advantageous to define the (engine) version with trailing 0 as a string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions