mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Updated the syntax for inline filters and attributes values
This commit is contained in:
committed by
Dan Christian Bogos
parent
a1112dfc13
commit
5a25443e17
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user