fix: test compilation
This commit is contained in:
parent
793eb16881
commit
a10e3433a4
3
Makefile
3
Makefile
|
@ -32,4 +32,7 @@ tailwindcss: $(TAILWIND_OUT)
|
||||||
$(TAILWIND_OUT): $(TEMPLATES) $(TAILWIND_IN) $(TAILWIND_CONF)
|
$(TAILWIND_OUT): $(TEMPLATES) $(TAILWIND_IN) $(TAILWIND_CONF)
|
||||||
tailwindcss -i $(TAILWIND_IN) -o $(TAILWIND_OUT)
|
tailwindcss -i $(TAILWIND_IN) -o $(TAILWIND_OUT)
|
||||||
|
|
||||||
|
.PHONY: test
|
||||||
|
test:
|
||||||
|
wgo -file=.go go test ./...
|
||||||
# end
|
# end
|
||||||
|
|
|
@ -55,9 +55,9 @@ var singleHandActive releaseHandTest = releaseHandTest{
|
||||||
room: Room{
|
room: Room{
|
||||||
Name: "test",
|
Name: "test",
|
||||||
CurrentSpeaker: person1.Id,
|
CurrentSpeaker: person1.Id,
|
||||||
AllKnownPeople: []Person{
|
AllKnownPeople: map[PersonId]Person{
|
||||||
person1,
|
person1.Id: person1,
|
||||||
person2,
|
person2.Id: person2,
|
||||||
},
|
},
|
||||||
ParticipantHands: map[PersonId]HandGesture{
|
ParticipantHands: map[PersonId]HandGesture{
|
||||||
person1.Id: Expand,
|
person1.Id: Expand,
|
||||||
|
@ -67,9 +67,9 @@ var singleHandActive releaseHandTest = releaseHandTest{
|
||||||
expected: Room{
|
expected: Room{
|
||||||
Name: "test",
|
Name: "test",
|
||||||
CurrentSpeaker: PersonId(0),
|
CurrentSpeaker: PersonId(0),
|
||||||
AllKnownPeople: []Person{
|
AllKnownPeople: map[PersonId]Person{
|
||||||
person1,
|
person1.Id: person1,
|
||||||
person2,
|
person2.Id: person2,
|
||||||
},
|
},
|
||||||
ParticipantHands: map[PersonId]HandGesture{},
|
ParticipantHands: map[PersonId]HandGesture{},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue