add static sanity check for human error of forgetting DataView endianness

Bu işleme şunda yer alıyor:
AJ ONeal 2017-02-11 15:40:21 -07:00
ebeveyn 6ecb2882dc
işleme 037247c91b

7
test/check-endianness.sh Normal dosya
Dosyayı Görüntüle

@ -0,0 +1,7 @@
#!/bin/bash
# A sanity check to prevent human error
echo "if you see any output, this test has failed"
grep -R setUint *.js test/ | grep -v false
grep -R getUint *.js test/ | grep -v false