Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
googletest
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
googletest
Commits
c81be0f6
Commit
c81be0f6
authored
Aug 10, 2017
by
Gennadiy Civil
Committed by
GitHub
Aug 10, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #871 from tommyleo2/master
Update Primer.md
parents
c523461f
82396f2d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Primer.md
googletest/docs/Primer.md
+1
-1
No files found.
googletest/docs/Primer.md
View file @
c81be0f6
...
@@ -213,7 +213,7 @@ two `string` objects, use `EXPECT_EQ`, `EXPECT_NE`, and etc instead.
...
@@ -213,7 +213,7 @@ two `string` objects, use `EXPECT_EQ`, `EXPECT_NE`, and etc instead.
|
**Fatal assertion**
|
**Nonfatal assertion**
|
**Verifies**
|
|
**Fatal assertion**
|
**Nonfatal assertion**
|
**Verifies**
|
|:--------------------|:-----------------------|:-------------|
|:--------------------|:-----------------------|:-------------|
|
`ASSERT_STREQ(`
_str1_
`, `
_str2_
`);`
|
`EXPECT_STREQ(`
_str1_
`, `
_str
_
2
`);`
| the two C strings have the same content |
|
`ASSERT_STREQ(`
_str1_
`, `
_str2_
`);`
|
`EXPECT_STREQ(`
_str1_
`, `
_str
2_
`);`
| the two C strings have the same content |
|
`ASSERT_STRNE(`
_str1_
`, `
_str2_
`);`
|
`EXPECT_STRNE(`
_str1_
`, `
_str2_
`);`
| the two C strings have different content |
|
`ASSERT_STRNE(`
_str1_
`, `
_str2_
`);`
|
`EXPECT_STRNE(`
_str1_
`, `
_str2_
`);`
| the two C strings have different content |
|
`ASSERT_STRCASEEQ(`
_str1_
`, `
_str2_
`);`
|
`EXPECT_STRCASEEQ(`
_str1_
`, `
_str2_
`);`
| the two C strings have the same content, ignoring case |
|
`ASSERT_STRCASEEQ(`
_str1_
`, `
_str2_
`);`
|
`EXPECT_STRCASEEQ(`
_str1_
`, `
_str2_
`);`
| the two C strings have the same content, ignoring case |
|
`ASSERT_STRCASENE(`
_str1_
`, `
_str2_
`);`
|
`EXPECT_STRCASENE(`
_str1_
`, `
_str2_
`);`
| the two C strings have different content, ignoring case |
|
`ASSERT_STRCASENE(`
_str1_
`, `
_str2_
`);`
|
`EXPECT_STRCASENE(`
_str1_
`, `
_str2_
`);`
| the two C strings have different content, ignoring case |
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment