mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 11:48:55 +01:00
shader: Rename test name
This commit is contained in:
parent
00b32a663e
commit
195c51fe51
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user