-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
match keyword in not working properly #1179
Comments
duplicate #1178 |
@ptrthomas can you please tell me in which version it is fixed?? |
@ajitqait I haven't read your issue. you have to follow this process: https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue |
Yes I am too facing this type of issue using match The scenario is passed instead of getting failed and I am not able to refer any reference link for help |
@guptanatya thank you - that is a much better example this is normally never used because * def foo = { a: '3' }
* def bar = { a: 3 }
* match foo == bar that said, I will look into the bug you have raised, but I don't consider it a priority at all. you can use Given string a = 3
And def b = 3
And assert a === b |
0.9.6 released |
Scenario: Demo purpose
Given def a = 'false' // String
And print a
And def b = false //boolean
Then match a == b //should be failed
Actual: passed(a==b) but when swap 'a' and 'b' then it is failed(b==a)(in this case working fine)
expected: it should be failed.
The text was updated successfully, but these errors were encountered: