Skip to content

Comments

test pipeline#95

Open
AGMETEOR wants to merge 1 commit intomainfrom
test-PR
Open

test pipeline#95
AGMETEOR wants to merge 1 commit intomainfrom
test-PR

Conversation

@AGMETEOR
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings January 19, 2026 07:41
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a duplicate assertion to the testStart function in the test file, which appears to be a test pipeline change based on the title. The change does not add any functional value as it repeats an existing assertion.

Changes:

  • Added a duplicate assertion line in the testStart function

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

rule := mRuleSet.rules[0].(*ruleWrapper)
require.Equal(t, rule.name, rsTag, "rule name mismatch")
require.Contains(t, mRuleSet.filter.Domain, domain, "rule not loaded")
require.Contains(t, mRuleSet.filter.Domain, domain, "rule not loaded")
Copy link

Copilot AI Jan 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This assertion is a duplicate of line 133 and provides no additional test coverage. The same condition is being checked twice with identical parameters and error message. Remove this duplicate line to improve test maintainability.

Suggested change
require.Contains(t, mRuleSet.filter.Domain, domain, "rule not loaded")

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant