Skip to content

Link the Integer range spec text from the out-of-range Ceiling and Floor tests - #171

Open
bryantaustin13 wants to merge 1 commit into
cqframework:mainfrom
bryantaustin13:integer-literal-spec-links
Open

bryantaustin13 wants to merge 1 commit into
cqframework:mainfrom
bryantaustin13:integer-literal-spec-links

Conversation

@bryantaustin13

Copy link
Copy Markdown
Contributor

The four out-of-range Integer literal tests in CqlArithmeticFunctionsTest.xml are marked invalid="semantic" (from #120), and their comments explain why but don't cite the spec. This adds the Integer range sentence and its anchor to each comment:

"CQL supports integer values in the range -2^31 to 2^31-1 with a step size of 1."
https://cql.hl7.org/09-b-cqlreference.html#integer-1

Affected tests: CeilingIntegerGreaterThanMaxInteger, CeilingIntegerLessThanMinInteger, FloorIntegerGreaterThanMaxInteger, FloorIntegerLessThanMinInteger.

Comment-only change. No expressions, outputs or invalid values change. The file validates against tests/testSchema.xsd.

Follows up #120. See #162 and #165, which were closed as superseded by it.

🤖 Generated with Claude Code

…oor tests

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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