Azure / Azure/DotNetty

Decimal point in test case - HttpContentCompressorTest

Open
#515 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
4.3k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

https://github.com/Azure/DotNetty/blob/13f009426687afc7c8d60ea653f6bc59d520eb2b/test/DotNetty.Codecs.Http.Tests/HttpContentCompressorTest.cs#L28

When regional settings for decimal point is set to ',' (eg. Polish language based Windows 10), test case for provided testcase fails on :
https://github.com/Azure/DotNetty/blob/13f009426687afc7c8d60ea653f6bc59d520eb2b/src/DotNetty.Codecs.Http/HttpContentCompressor.cs#L96

Looks like problem only with testcase and provided sample data - but i'm not 100% sure...

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.