Update stm32flash.rb

fix test