Skip to content

[Bug]: EncodeDuration with larger unit durations is too strict #8987

@jhendrixMSFT

Description

@jhendrixMSFT

Describe the bug

Some tests expect header/query params to have a trailing ".0" as they're performing string comparisons. It would be better if the test parsed the value into a number.

Reproduction

Introduced in #8729

Checklist

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinglib:http-specsFor issues/prs related to the @typespec/http-specs package

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions