Updated the syntax for inline filters and attributes values

This commit is contained in:
Trial97
2021-02-05 17:07:42 +02:00
committed by Dan Christian Bogos
parent a1112dfc13
commit 5a25443e17
26 changed files with 90 additions and 69 deletions

View File

@@ -19,7 +19,6 @@ package console
import (
"encoding/json"
"fmt"
"os"
"reflect"
"sort"
@@ -345,7 +344,7 @@ func TestCommandExecuterLocalFromArgsCase2(t *testing.T) {
err := testStruct.FromArgs(cmdArgs, true)
expected := "json: Unmarshal(non-pointer struct {})"
if err == nil || err.Error() != expected {
fmt.Errorf("\nExpected <%+v>, \nRecevied <%+v>", expected, err)
t.Errorf("\nExpected <%+v>, \nRecevied <%+v>", expected, err)
}
}