Skip to content

Fixed failiing specs when lutaml-model coerces element to array - #39

Merged
HassanAkbar merged 1 commit into
mainfrom
fix/strict-cardinality-spec-failures
Jul 16, 2026
Merged

Fixed failiing specs when lutaml-model coerces element to array#39
HassanAkbar merged 1 commit into
mainfrom
fix/strict-cardinality-spec-failures

Conversation

@HassanAkbar

Copy link
Copy Markdown
Member

Metanorma PR checklist

Related to lutaml/lutaml-model#720
Fixes spec failurs in https://github.com/lutaml/lutaml-model/actions/runs/29395937178/job/87385815033?pr=720

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the STS table specs to reflect a behavioral change in lutaml-model where certain element attributes are coerced into arrays, preventing spec failures triggered by that coercion.

Changes:

  • Adjusts Th specs to treat paragraph and fn as array-backed attributes.
  • Adjusts Td spec to treat fn as an array-backed attribute.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread spec/sts_table_spec.rb
Comment thread spec/sts_table_spec.rb
Comment thread spec/sts_table_spec.rb
@HassanAkbar
HassanAkbar force-pushed the fix/strict-cardinality-spec-failures branch from 890b11b to 94c55e4 Compare July 16, 2026 07:32
@HassanAkbar
HassanAkbar merged commit 678da06 into main Jul 16, 2026
26 checks passed
@HassanAkbar
HassanAkbar deleted the fix/strict-cardinality-spec-failures branch July 16, 2026 07:54
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.

2 participants