Skip to content

Conversation

@MikaelMayer
Copy link
Member

This PR provides a clean implementation of the test expectation fixes needed for PR #3324.

Changes Made

  • Position Format: Updated from (line,col) to (line:col-line:col) across all test files
  • Error Messages: Changed from 'might not hold' to 'could not be proved' and related patterns
  • Consistency: Ensured 'proved' vs 'proven' consistency and lowercase error messages
  • Coverage: Applied to 1,076+ test and documentation files

Why This Approach

This is a clean implementation based on master that avoids the complex merge conflicts in the original PR #3324 branch. It applies only the essential test expectation fixes without the historical baggage.

Testing

This should resolve the CI failures by ensuring test expectations match the actual Dafny compiler output format.

…messages

- Update position format from (line,col) to (line:col-line:col) across all test files
- Change error messages from 'might not hold' to 'could not be proved'
- Update all related error message patterns (decreases, maintenance, etc.)
- Ensure consistency with 'proved' vs 'proven' and lowercase error messages
- Remove trailing periods from error messages as per PR requirements

This addresses the test expectation issues in PR #3324 by applying the
correct format changes to 1,076+ test and documentation files.
@MikaelMayer
Copy link
Member Author

Closing this PR as it only updates test expectation files without the corresponding code changes that produce the new error messages. This approach is incorrect - both the source code changes and test expectations need to be updated together.

@MikaelMayer MikaelMayer closed this Jul 8, 2025
@MikaelMayer MikaelMayer deleted the pr-3324-clean branch July 8, 2025 21:31
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