shader: Rename test name

This commit is contained in:
Hajime Hoshi 2020-05-09 17:19:05 +09:00
parent 00b32a663e
commit 195c51fe51

View File

@ -20,7 +20,7 @@ import (
. "github.com/hajimehoshi/ebiten/internal/shader" . "github.com/hajimehoshi/ebiten/internal/shader"
) )
func TestGlsl(t *testing.T) { func TestDump(t *testing.T) {
tests := []struct { tests := []struct {
In string In string
Dump string Dump string
@ -43,6 +43,9 @@ var (
const C1 float = 1 const C1 float = 1
const C2, C3 float = 2, 3 const C2, C3 float = 2, 3
func foo() {
}
`, `,
Dump: `var Position varying vec4 // position Dump: `var Position varying vec4 // position
var Color varying vec4 var Color varying vec4