Various fix

This commit is contained in:
Fabio Scotto di Santolo
2018-11-28 15:54:37 +01:00
parent a2c3408524
commit a091af967e
2 changed files with 3 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ import (
"strings" "strings"
) )
// Pair --
type Pair struct { type Pair struct {
First string First string
Second string Second string

View File

@@ -5,7 +5,7 @@ import (
"path/filepath" "path/filepath"
"testing" "testing"
prop "bitbucket.org/fabio_scotto_di_santolo/properties" prop "github.com/fscotto/properties"
) )
const FILENAME = "ini_test.properties" const FILENAME = "ini_test.properties"
@@ -212,7 +212,7 @@ func TestDefaultLoad(t *testing.T) {
t.Failed() t.Failed()
} }
for key, value := range p.Values() { for key, value := range p.Values() {
t.Logf("%s = %s\n", key, value) t.Logf("%d = %s\n", key, value)
} }
} else if err != nil { } else if err != nil {
t.Logf("\n[!!] Failed error %s\n", err.Error()) t.Logf("\n[!!] Failed error %s\n", err.Error())