-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -210,9 +210,9 @@ TEST(testIsMailAddress, OffsetParameter) | |
const wchar_t* const Buffer = L" [email protected]"; | ||
const wchar_t* const BufferEnd = Buffer + wcslen(Buffer); | ||
const struct { | ||
bool expected; | ||
bool expected; | ||
const wchar_t* address; // to be tested by IsMailAddress. | ||
int offset; // passed to IsMailAddress as 2nd param. | ||
int offset; // passed to IsMailAddress as 2nd param. | ||
const wchar_t* buffer() const { // passed to IsMailAddress as 1st param. | ||
return this->address - this->offset; | ||
} | ||
|