Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: CESQL conformance tests are correct with spec v1 #1296

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

Cali0707
Copy link
Contributor

While implementing the v1 spec changes in the go sdk, I found that there were some inconsistencies with the conformance tests and the v1 spec. This PR fixes the conformance tests

Proposed Changes

  • Remove IS_(BOOL|INT|STRING) tests since the functions are not required by spec
  • Fix cast of boolean no longer causing error
  • Remove test that requires complete expression evaluation, as the spec leaves this to implementations
  • Fix remaining tests to return missing attribute errors where necessary

* Remove IS_(BOOL|INT|STRING) tests since the functions are not required
  by spec
* Fix cast of boolean no longer causing error
* Remove test that requires complete expression evaluation, as the spec
  leaves this to implementations
* Fix remaining tests to return missing attribute errors where necessary

Signed-off-by: Calum Murray <[email protected]>
@Cali0707 Cali0707 changed the title fix: conformance tests are correct with spec v1 fix: CESQL conformance tests are correct with spec v1 Jun 11, 2024
@duglin
Copy link
Collaborator

duglin commented Jun 12, 2024

LGTM

@duglin
Copy link
Collaborator

duglin commented Jun 13, 2024

Approved on the 6/13 call

@duglin duglin merged commit d3bca3a into cloudevents:main Jun 13, 2024
2 checks passed
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