Skip to content

Change representation of char* from string to array#532

Merged
sava-cska merged 6 commits intomainfrom
kichin_e
Nov 14, 2022
Merged

Change representation of char* from string to array#532
sava-cska merged 6 commits intomainfrom
kichin_e

Conversation

@kichunya
Copy link
Copy Markdown
Collaborator

@kichunya kichunya commented Nov 10, 2022

Fixed Incorrect check post condition of char* ([BUG] #463) from string to array

@kichunya kichunya changed the title Kichin e Change representation of char* from string to array Nov 10, 2022
{ [&predicate](const tests::Tests::MethodTestCase &testCase) {
// empty string
return testCase.paramValues[0].view->getEntryValue(nullptr).length() == 2 &&
return testCase.paramValues[0].view->getEntryValue(nullptr).substr(2,2) == "\\0" &&
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Пробел (2, 2)

[&predicate](const tests::Tests::MethodTestCase &testCase) {
// non-empty string
return testCase.paramValues[0].view->getEntryValue(nullptr).length() > 2 &&
return testCase.paramValues[0].view->getEntryValue(nullptr).substr(2,2) != "\\0" &&
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Пробел (2, 2)

@kichunya kichunya requested a review from sava-cska November 14, 2022 08:07
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.

2 participants