Skip to content

Commit

Permalink
Remove deadcode for RBI::TranslateRBSSigsTest::test_translate_attr_sigs
Browse files Browse the repository at this point in the history
  • Loading branch information
shopify-codedb[bot] committed Mar 6, 2025
1 parent d575644 commit 07d079a
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions test/rbi/rewriters/translate_rbs_sigs_tests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,30 +46,6 @@ def self.baz(a, b = 42); end
RBI
end

def test_translate_attr_sigs
tree = rewrite(<<~RBI)
#: Integer
attr_reader :a
#: Integer
attr_writer :b
#: Integer
attr_accessor :c, :d
RBI

assert_equal(<<~RBI, tree)
sig { returns(Integer) }
attr_reader :a
sig { params(b: Integer).returns(Integer) }
attr_writer :b
sig { returns(Integer) }
attr_accessor :c, :d
RBI
end

private

#: (String) -> String
Expand Down

0 comments on commit 07d079a

Please sign in to comment.