fix RWFromMem of sdl/audio_test.go
* fix RWFromMem of sdl/audio_test.go
* ci: improve Travis CI script, using Xvfb for Headless SDL test
using libsdl2-dev from dist
* using xenial dist
* freetype/raster test failed
* reverse CI patch
@@ -66,10 +66,7 @@ func TestAudioInitQuit(t *testing.T) {
func TestLoadWAVRW(t *testing.T) {
// load WAV from *RWOps pointing to WAV data
- src, err := RWFromMem(squareWave)
- if err != nil {
- t.Errorf("LoadWAVRW() returned error %v", err)
- }
+ src, _ := RWFromMem(squareWave)
buf, spec := LoadWAVRW(src, false)
// test returned []byte
