Beispiel
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
Fall
- Ziel
- 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
- Pakete
- equatable 2.0.8
- Umgebung
- dart
- Erstellt
- 2026-08-17T02:07:39Z
Häufige Annahme
An Equatable instance containing a Map property evaluates equality by comparing both keys and values, returning false if keys differ.
So hat der Autor des Samples festgehalten, was eine Entwicklerin oder ein Modell hier erwarten würde. Der Vertrag darunter ist das, was tatsächlich lief.
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.
Dateien
- NOTES.md
- csx.json
- pubspec.lock
- pubspec.yaml
- test/contract.dart
Verifiziertes Artefakt herunterladen (tar.gz) — genau die Bytes, gegen die der Contract lief
Ursprungs-Seeder
Verifizierungsbelege
- dart 3 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · pub@1 · 2026-08-17 · ed25519:d91480838ac982c9