Some unit tests don't make sense
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Documentazione
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- javascript, node.js
- Ambito
- documentation, testing
Direzione di ricerca
Inizia con i casi di unit test segnalati come 223 e 303, quindi leggi il comportamento di uguaglianza profonda esercitato da questi test. Spiega perché le aspettative esistenti sono intenzionali, oppure identifica una discrepanza specifica che dovrebbe essere modificata; il lavoro è completo quando i risultati dei test e la semantica dell’uguaglianza sono documentati chiaramente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Trawling thru the unit tests, I've noticed some failed tests that I really think should pass.
For example:
not ok 223 empty buffer and empty array are not equal
I, would honestly expect and empty buffer and empty array to NOT be equal. One holds arbitrary data and one holds bytes. So why then, are them not being equal a fail?
Also:
not ok 303 Date and RegExp are not equal
I cannot see any scenario where a Date and a RegExp would be any type of equal, them being 2 completely different types with completely different intended functionality. So then why is them not being equal a failed test?
I want to adopt this library, but I need to ensure I won't have any... Surprises.
Can someone explain these test results and maybe convince me to integrate this library?
- Lingua principale
- JavaScript
- Stelle
- 792
- Fork
- 107
- Merge medio
- 9g 20h
- PR unite (30g)
- 1
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di inspect-js/node-deep-equal
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
inspect-js/node-deep-equal#112 ·
-
breaking change in node 23Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
inspect-js/node-deep-equal#110 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
inspect-js/node-deep-equal#109 · 1 commento ·
-
Dependency DashboardAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 15/100
Tutte le issue di inspect-js/node-deep-equal
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
cli: `studio --request <missing file>` answers with a raw ENOENT/EISDIR instead of a clear errorApertabug good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
laaielichter/Ai-edit-studio#81 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
jasonacox/pypowerwall#472 ·
I maintainer di solito rispondono entro 1 giorno