add static sanity check for human error of forgetting DataView endianness
This commit is contained in:
		
							parent
							
								
									6ecb2882dc
								
							
						
					
					
						commit
						037247c91b
					
				
							
								
								
									
										7
									
								
								test/check-endianness.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								test/check-endianness.sh
									
									
									
									
									
										Normal file
									
								
							| @ -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 | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user