~nvkv/amitm

ref: e0de9939dec0cfada35fb6950b16efeba3d48dc2 amitm/internal/config/v1/config_test.go -rw-r--r-- 253 bytes
e0de9939Semyon Novikov Wrap LICENSE file at 80th column to make it nice 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package config

import (
	"fmt"
	"testing"
)

func TestReadConfig(t *testing.T) {
	cfg, err := ReadConfig("../../../examples/amitm.toml")
	fmt.Printf("cfg: %+v\n", cfg.actionmap)
	if err != nil {
		t.Errorf("Can't read example.toml file: %s", err)
	}
}