Skip to content

Commit

Permalink
Added test for normalized statement
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Jul 4, 2023
1 parent 980c6e3 commit a875040
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/statement_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,8 @@ def test_order_multiple_direction
def test_schema
assert_index "SELECT * FROM \"Bar\".\"Foo\" WHERE \"Id\" = 10000", "Bar.Foo (Id)"
end

def test_normalized
assert_index "SELECT * FROM posts WHERE id = $1", "public.posts (id)"
end
end

0 comments on commit a875040

Please sign in to comment.