Skip to content

Commit a7fbf77

Browse files
committed
Update integration tests after pmd/pmd#3666 has been merged
1 parent 35af107 commit a7fbf77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/manual_integration_tests.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def test_case_1_single_java_rule_changed
5353

5454
# errors might have been caused in the baseline for other rules (only visible in the stacktrace)
5555
# hence they might appear as removed
56-
assert_equal(1, @summary[:errors][:removed], 'found removed errors')
56+
assert_equal(0, @summary[:errors][:removed], 'found removed errors')
5757
assert_equal(0, @summary[:errors][:changed], 'found changed errors')
5858
assert_equal(0, @summary[:errors][:new], 'found new errors')
5959
assert_equal(0, @summary[:configerrors][:changed], 'found changed configerrors')
@@ -88,7 +88,7 @@ def test_case_2_single_xpath_rule_changed
8888

8989
# errors might have been caused in the baseline for other rules (only visible in the stacktrace)
9090
# hence they might appear as removed
91-
assert_equal(1, @summary[:errors][:removed], 'found removed errors')
91+
assert_equal(0, @summary[:errors][:removed], 'found removed errors')
9292
assert_equal(0, @summary[:errors][:changed], 'found changed errors')
9393
assert_equal(0, @summary[:errors][:new], 'found new errors')
9494
assert_equal(0, @summary[:configerrors][:changed], 'found changed configerrors')

0 commit comments

Comments
 (0)