Skip to content

Commit 854ad39

Browse files
aidanharanAidan Haran
andauthored
Added comments (#906)
Co-authored-by: Aidan Haran <aharan@fusioneer.com>
1 parent fea63a9 commit 854ad39

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/cases/coerced_tests.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1629,6 +1629,7 @@ class ReloadModelsTest < ActiveRecord::TestCase
16291629
require "models/post"
16301630
class AnnotateTest < ActiveRecord::TestCase
16311631
# Same as original coerced test except our SQL starts with `EXEC sp_executesql`.
1632+
# TODO: Remove coerce after Rails 7 (see https://github.com/rails/rails/pull/42027)
16321633
coerce_tests! :test_annotate_wraps_content_in_an_inline_comment
16331634
def test_annotate_wraps_content_in_an_inline_comment_coerced
16341635
quoted_posts_id, quoted_posts = regexp_escape_table_name("posts.id"), regexp_escape_table_name("posts")
@@ -1640,6 +1641,7 @@ def test_annotate_wraps_content_in_an_inline_comment_coerced
16401641
end
16411642

16421643
# Same as original coerced test except our SQL starts with `EXEC sp_executesql`.
1644+
# TODO: Remove coerce after Rails 7 (see https://github.com/rails/rails/pull/42027)
16431645
coerce_tests! :test_annotate_is_sanitized
16441646
def test_annotate_is_sanitized_coerced
16451647
quoted_posts_id, quoted_posts = regexp_escape_table_name("posts.id"), regexp_escape_table_name("posts")

0 commit comments

Comments
 (0)