Skip to content

Catch2 update #246

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
changing tag name for subscript operator
since for catch2 '[' is not a valid character in the tag name
  • Loading branch information
andreagilardoni committed Feb 17, 2025
commit e97e5e2a5bfd325f309f49d2a09b70ed0feeff66
4 changes: 2 additions & 2 deletions test/src/String/test_characterAccessFunc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ TEST_CASE ("Testing String::getBytes(unsigned char, unsigned int, unsigned int)"
}
}

TEST_CASE ("Testing & String::operator[]", "[String-&operator[]-03]")
TEST_CASE ("Testing & String::operator[]", "[String-&operator subscript-03]")
{
arduino::String str("Hello");
str[0] = 'M';
REQUIRE(str == "Mello");
}

TEST_CASE ("Testing & String::operator[] with invalid buffer", "[String-&operator[]-04]")
TEST_CASE ("Testing & String::operator[] with invalid buffer", "[String-&operator subscript-04]")
{
char *buffer = NULL;
arduino::String str(buffer);
Expand Down
Loading