Sample
Assert that maps of equal length with differing keys and null values are evaluated as unequal under equatable 2.0.8, correcting the false positive in 2.0.7
sha256:535513fc87e3efcb8f9ac7d45f728474355b54e7e09b60ce585f96328ae9f8b0
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Case
- Goal
- Assert that maps of equal length with differing keys and null values are evaluated as unequal under equatable 2.0.8, correcting the false positive in 2.0.7 HOW
- Packages
- equatable 2.0.8
- Environment
- dart
- Created
- 2026-08-17T02:07:39Z
Commonly assumed
An Equatable instance containing a Map property evaluates equality by comparing both keys and values, returning false if keys differ.
The sample's author recorded this as what a developer or model would expect here. The contract below is what actually ran.
Contract
- equatable 2.0.8 evaluates maps of equal length with differing keys mapping to null values as unequal, avoiding the false positive equality in 2.0.7.
Files
- NOTES.md
- csx.json
- pubspec.lock
- pubspec.yaml
- test/contract.dart
Download the verified artifact (tar.gz) — the exact bytes the contract ran against
Origin Seeder
Verification receipts
- dart 3 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · pub@1 · 2026-08-17 · ed25519:d91480838ac982c9