mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-09-26 20:11:28 +08:00
vector: skip a flaky test for browsers
This commit is contained in:
@@ -15,6 +15,7 @@
|
|||||||
package vector_test
|
package vector_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"runtime"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/hajimehoshi/ebiten/v2"
|
"github.com/hajimehoshi/ebiten/v2"
|
||||||
@@ -200,6 +201,10 @@ func TestAddPathSelf(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestArcAndGeoM(t *testing.T) {
|
func TestArcAndGeoM(t *testing.T) {
|
||||||
|
if runtime.GOOS == "js" {
|
||||||
|
t.Skip("the result might be flaky in this environment")
|
||||||
|
}
|
||||||
|
|
||||||
testCases := []struct {
|
testCases := []struct {
|
||||||
name string
|
name string
|
||||||
geoM ebiten.GeoM
|
geoM ebiten.GeoM
|
||||||
|
Reference in New Issue
Block a user