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)
|
||||
tailwindcss -i $(TAILWIND_IN) -o $(TAILWIND_OUT)
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
wgo -file=.go go test ./...
|
||||
# end
|
||||
|
|
|
@ -55,9 +55,9 @@ var singleHandActive releaseHandTest = releaseHandTest{
|
|||
room: Room{
|
||||
Name: "test",
|
||||
CurrentSpeaker: person1.Id,
|
||||
AllKnownPeople: []Person{
|
||||
person1,
|
||||
person2,
|
||||
AllKnownPeople: map[PersonId]Person{
|
||||
person1.Id: person1,
|
||||
person2.Id: person2,
|
||||
},
|
||||
ParticipantHands: map[PersonId]HandGesture{
|
||||
person1.Id: Expand,
|
||||
|
@ -67,9 +67,9 @@ var singleHandActive releaseHandTest = releaseHandTest{
|
|||
expected: Room{
|
||||
Name: "test",
|
||||
CurrentSpeaker: PersonId(0),
|
||||
AllKnownPeople: []Person{
|
||||
person1,
|
||||
person2,
|
||||
AllKnownPeople: map[PersonId]Person{
|
||||
person1.Id: person1,
|
||||
person2.Id: person2,
|
||||
},
|
||||
ParticipantHands: map[PersonId]HandGesture{},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue