catchorg / catchorg/Catch2

No Equals matcher for wide strings

Open
#1,551 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
21.5k
Forks
3.5k
Avg merge
3d 16h
Merged PRs (30d)
2

Description

**Description**
Currently there's no Equals matcher for wide strings.

**Additional context**
```
std::wstring test(L"test");
CHECK_THAT(test, Equals(L"test"));
```

error: no matching function for call to 'Equals(const wchar_t [5])'
CHECK_THAT(test, Equals(L"test"));
^
I'll look at adding this and raise a PR.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.