summaryrefslogtreecommitdiff
path: root/config_test.go
blob: c568a34b750e809c8780ec323f3aeb8def2c3d13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package main

import (
	"testing"
)

func TestDefaultConfig(t *testing.T) {
	config := StartupConfig{}

	err := config.FromJSON(defaultConfig)
	if err != nil {
		t.Fatalf("Failed parsing default config from JSON: %v", err)
	}
}