diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-07-31 18:07:41 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-07-31 18:07:41 +0200 |
| commit | 103e473f200b76db20ef8d9af3c98db2bfb2aa29 (patch) | |
| tree | 7f534e839ddd09021186f05a89903c59007c0ed3 /wrms_test.go | |
| parent | 8205d426e9681abc470dcb2e49344246a01b2e49 (diff) | |
| download | WRMS-103e473f200b76db20ef8d9af3c98db2bfb2aa29.tar.gz WRMS-103e473f200b76db20ef8d9af3c98db2bfb2aa29.zip | |
make time bonus config value usable through yaml
Diffstat (limited to 'wrms_test.go')
| -rw-r--r-- | wrms_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wrms_test.go b/wrms_test.go index bfb620d..7d7942c 100644 --- a/wrms_test.go +++ b/wrms_test.go @@ -142,7 +142,7 @@ func TestFlipVote(t *testing.T) { func TestTimeBonus(t *testing.T) { wrms := Wrms{Player: &mockPlayer{}} - wrms.Config.timeBonus = 0.1 + wrms.Config.TimeBonus = 0.1 songs := []*Song{ NewDummySong("song1", "snfmt"), NewDummySong("song2", "snfmt"), |
