Skip to content

Add more unit tests for operators - boolean#758

Open
Harikesh00 wants to merge 1 commit intoMontFerret:masterfrom
Harikesh00:ut-bool-operator
Open

Add more unit tests for operators - boolean#758
Harikesh00 wants to merge 1 commit intoMontFerret:masterfrom
Harikesh00:ut-bool-operator

Conversation

@Harikesh00
Copy link

No description provided.

@Harikesh00
Copy link
Author

added unit test for ToBoolean() of pkg/runtime/expressions/operators/operator.go file for issue #34

@Harikesh00
Copy link
Author

Harikesh00 commented Oct 23, 2022

@ziflex kindly review

Copy link
Member

@ziflex ziflex left a comment

Choose a reason for hiding this comment

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

What about non-boolean values?

@ziflex ziflex requested a review from Copilot September 4, 2025 20:12
Copy link

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 unit tests for the ToBoolean operator to improve test coverage of boolean operations in the expressions package.

  • Added TestToBoolean function with test cases for true and false boolean values
  • Removed an extra blank line for code formatting consistency

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

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.

3 participants