Skip to content

Commit

Permalink
Fixed go tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivanshGahlot committed Feb 18, 2025
1 parent 7bdf3be commit 931918f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ func TestAllIssues(t *testing.T) {
NewExclusionConstraintIssue("TABLE", "Test", stmt11, "no_time_overlap_constr"),
},
stmt13: []QueryIssue{
NewIndexOnComplexDatatypesIssue("INDEX", "idx_on_daterange ON test_dt", stmt13, "daterange"),
NewIndexOnDaterangeDatatypeIssue("INDEX", "idx_on_daterange ON test_dt", stmt13),
},
}

Expand Down Expand Up @@ -1280,6 +1280,7 @@ BEGIN
END;
$$ LANGUAGE plpgsql;`,
`CREATE OR REPLACE FUNCTION notify_and_insert()
`CREATE OR REPLACE FUNCTION notify_and_insert()
RETURNS VOID AS $$
BEGIN
LISTEN my_table_changes;
Expand Down Expand Up @@ -1329,6 +1330,7 @@ $$ LANGUAGE plpgsql;`,
}
}
func TestTwoPhaseCommit(t *testing.T) {
sqls := []string{
`PREPARE TRANSACTION 'tx1';`,
Expand Down

0 comments on commit 931918f

Please sign in to comment.