1 // Testing support for go-toml
9 func TestPositionString(t *testing.T) {
10 p := Position{123, 456}
11 expected := "(123, 456)"
14 if value != expected {
15 t.Errorf("Expected %v, got %v instead", expected, value)
19 func TestInvalid(t *testing.T) {
20 for i, v := range []Position{
26 t.Errorf("Position at %v is valid: %v", i, v)