Skip to content

Fix ChromeOS platform typo#102

Open
ckkz-it wants to merge 1 commit intoshon:masterfrom
ckkz-it:fix/chromeos-typo
Open

Fix ChromeOS platform typo#102
ckkz-it wants to merge 1 commit intoshon:masterfrom
ckkz-it:fix/chromeos-typo

Conversation

@ckkz-it
Copy link
Copy Markdown

@ckkz-it ckkz-it commented Apr 15, 2026

Remove leading space in ChromeOS platform string and update test expectations

Comment thread tests.py
Comment on lines -196 to +197
del detected['platform']
if 'platform' not in res:
del detected['platform']
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the platform wasn't tested before in tests, I don't know was it intentional or not, but that's the only way I can test the typo fix - let me know if you want me to keep only typo fix, without test updates

@ckkz-it
Copy link
Copy Markdown
Author

ckkz-it commented Apr 15, 2026

I wanted to use it as if result["platform"]["name"] == httpagentparser.ChromeOS.platform and noticed this typo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant