Skip to content

tests: add expand #t0132 (@base vs property keys)#686

Open
anatoly-scherbakov wants to merge 9 commits into
mainfrom
expand-test-t0132-base-property-keys
Open

tests: add expand #t0132 (@base vs property keys)#686
anatoly-scherbakov wants to merge 9 commits into
mainfrom
expand-test-t0132-base-property-keys

Conversation

@anatoly-scherbakov
Copy link
Copy Markdown
Contributor

@anatoly-scherbakov anatoly-scherbakov commented Apr 11, 2026

Summary

Adds ExpandTest #t0132: with a context that sets only @base (and @version 1.1), an unmapped simple property key like name is dropped, while a relative @type token still resolves against that base (IRI Expansion).

Files

  • tests/expand/0132-in.jsonld, tests/expand/0132-out.jsonld
  • tests/expand-manifest.jsonld — new sequence entry after #t0131
  • tests/expand-manifest.html — regenerated (Haml + HtmlBeautifier; bundle exec rake was not runnable here without libyaml-dev; same pipeline as tests/Rakefile)

Preview | Diff

@anatoly-scherbakov
Copy link
Copy Markdown
Contributor Author

My agent fixed LoadDocumentOptions once again after #684, that commit can be easily removed while rebasing if that PR, or its predecessor, is merged.

Comment thread tests/expand-manifest.html Outdated
Comment thread tests/expand-manifest.jsonld Outdated
anatoly-scherbakov and others added 2 commits April 15, 2026 19:40
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Comment thread tests/expand-manifest.html Outdated
anatoly-scherbakov and others added 2 commits April 17, 2026 11:39
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Copy link
Copy Markdown
Contributor

@pchampin pchampin left a comment

Choose a reason for hiding this comment

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

My agent fixed LoadDocumentOptions once again after #684,

you should train it to behave!

that commit can be easily removed while rebasing if that PR, or its predecessor, is merged.

Please do make these changes before submitting the PR (like cherrypicking or rebasing locally). This may creates unnecessary friction when we decide to merge that.

Apart from this, the test looks good to me.

Comment thread index.html Outdated
Co-authored-by: Pierre-Antoine Champin <pierre-antoine@w3.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants