Remove RSRSep opt from general section

- allows RSRParser to be split gracefully from config (was depending on
  RSRSep, which was retrieved from the global config variable)
- default separator (;) was the only one used except for splitting
  inline attribute values (where ANDSep is used)
This commit is contained in:
ionutboangiu
2025-02-14 14:44:48 +02:00
committed by Dan Christian Bogos
parent c60712f454
commit 36a7d174ab
152 changed files with 841 additions and 878 deletions

View File

@@ -107,7 +107,7 @@ func TestDiffReqProcessorJsnCfg(t *testing.T) {
},
}
rcv := diffReqProcessorJsnCfg(d, v1, v2, ";")
rcv := diffReqProcessorJsnCfg(d, v1, v2)
if !reflect.DeepEqual(rcv, expected) {
t.Errorf("Expected %v \n but received \n %v", utils.ToJSON(expected), utils.ToJSON(rcv))
}
@@ -143,7 +143,7 @@ func TestDiffReqProcessorJsnCfg(t *testing.T) {
}
v1 = v2
rcv = diffReqProcessorJsnCfg(d, v1, v2, ";")
rcv = diffReqProcessorJsnCfg(d, v1, v2)
if !reflect.DeepEqual(rcv, expected) {
t.Errorf("Expected %v \n but received \n %v", utils.ToJSON(expected), utils.ToJSON(rcv))
}
@@ -236,7 +236,7 @@ func TestDiffReqProcessorsJsnCfg(t *testing.T) {
},
}
rcv := diffReqProcessorsJsnCfg(d, v1, v2, ";")
rcv := diffReqProcessorsJsnCfg(d, v1, v2)
if !reflect.DeepEqual(rcv, expected) {
t.Errorf("Expected %v \n but received \n %v", utils.ToJSON(expected), utils.ToJSON(rcv))
}
@@ -267,7 +267,7 @@ func TestDiffReqProcessorsJsnCfg(t *testing.T) {
},
},
}
rcv = diffReqProcessorsJsnCfg(d, v1, v2, ";")
rcv = diffReqProcessorsJsnCfg(d, v1, v2)
if !reflect.DeepEqual(rcv, expected) {
t.Errorf("Expected %v \n but received \n %v", utils.ToJSON(expected), utils.ToJSON(rcv))
}
@@ -278,7 +278,7 @@ func TestDiffReqProcessorsJsnCfg(t *testing.T) {
expected = &[]*ReqProcessorJsnCfg{
{},
}
rcv = diffReqProcessorsJsnCfg(d, v1, v2, ";")
rcv = diffReqProcessorsJsnCfg(d, v1, v2)
if !reflect.DeepEqual(rcv, expected) {
t.Errorf("Expected %v \n but received \n %v", utils.ToJSON(expected), utils.ToJSON(rcv))
}