Skip to content
Snippets Groups Projects
Commit e49d2661 authored by Leo Balter's avatar Leo Balter Committed by Tom Care
Browse files

Improve assertions comparing values to NaN (#690)

The global isNaN is not precise at all, and Number.isNaN is an ES6 feature that makes it preferrable to use assert's sameValue for NaN values, as it handles it internally using the comparison.
parent a3fffa75
No related branches found
No related tags found
No related merge requests found
Showing
with 154 additions and 324 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment