Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
czpmango committed Dec 23, 2021
1 parent e54c8d9 commit 6768409
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -995,7 +995,7 @@ func TestExecuteWithParameter(t *testing.T) {
prepareParameter()
// Simple result
{
resp, err := tryToExecuteWithParameter(session, "RETURN toBoolean($p1) and false, $p2+3, $p3[1]>3, $p3.b", params)
resp, err := tryToExecuteWithParameter(session, "RETURN toBoolean($p1) and false, $p2+3, $p3[1]>3", params)
if err != nil {
t.Fatalf(err.Error())
return
Expand Down Expand Up @@ -1058,19 +1058,6 @@ func TestExecuteWithParameter(t *testing.T) {
assert.Equal(t,
false,
col3)
valWrap, err = record.GetValueByIndex(3)
if err != nil {
t.Fatalf(err.Error())
return
}
col4, err := valWrap.AsString()
if err != nil {
t.Fatalf(err.Error())
return
}
assert.Equal(t,
"Bob",
col4)
}
// Complex result
{
Expand Down

0 comments on commit 6768409

Please sign in to comment.