Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

port: [#4309] AdaptiveExpression Bool function is not very useful because it doesn't convert anything but ints (#6431) #4320

Conversation

sw-joelmut
Copy link
Collaborator

Fixes #4309

Description

This PR ports the changes in botbuilder-dotnet to evaluate 'true' and 'false' strings.

Specific Changes

  • Updated func() method of AdaptiveExpressions/BuiltinFunctions/bool to evaluate 'false' string
  • Updated AdaptiveExpressions/Tests/expressionParser.test.js

Testing

This image shows the unit tests passing.
image

@sw-joelmut sw-joelmut requested a review from a team as a code owner September 2, 2022 17:58
@coveralls
Copy link

coveralls commented Sep 2, 2022

Pull Request Test Coverage Report for Build 2980948768

  • 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.001%) to 84.536%

Totals Coverage Status
Change from base Build 2934033297: -0.001%
Covered Lines: 19872
Relevant Lines: 22267

💛 - Coveralls

@tracyboehrer tracyboehrer merged commit a7b90f3 into main Sep 9, 2022
@tracyboehrer tracyboehrer deleted the southworks/port/adaptive-expression-bool-function-is-not-very-useful branch September 9, 2022 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants