Skip to content

Commit

Permalink
Ignore RB-RL1045
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondjavaxx committed Feb 21, 2024
1 parent e1e0777 commit 50b8ba2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions test/test_file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def test_empty

file << DotStrings::Item.new(key: 'button.continue', value: 'Continue')

refute_empty file
refute_empty file # skipcq: RB-RL1045
end

def test_equality
Expand All @@ -139,7 +139,7 @@ def test_equality
])

assert_equal file1, file2
refute_equal file1, file3
refute_equal file1, file3 # skipcq: RB-RL1045
end

def test_to_string
Expand Down
6 changes: 3 additions & 3 deletions test/test_item.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@ def test_equals_with_different_comment
item1 = DotStrings::Item.new(comment: 'Comment', key: 'key 1', value: 'value 1')
item2 = DotStrings::Item.new(comment: 'Comment 2', key: 'key 1', value: 'value 1')

refute_equal item1, item2
refute_equal item1, item2 # skipcq: RB-RL1045
end

def test_equals_with_different_key
item1 = DotStrings::Item.new(comment: 'Comment', key: 'key 1', value: 'value 1')
item2 = DotStrings::Item.new(comment: 'Comment', key: 'key 2', value: 'value 1')

refute_equal item1, item2
refute_equal item1, item2 # skipcq: RB-RL1045
end

def test_equals_with_different_value
item1 = DotStrings::Item.new(comment: 'Comment', key: 'key 1', value: 'value 1')
item2 = DotStrings::Item.new(comment: 'Comment', key: 'key 1', value: 'value 2')

refute_equal item1, item2
refute_equal item1, item2 # skipcq: RB-RL1045
end

def test_to_s
Expand Down

0 comments on commit 50b8ba2

Please sign in to comment.