Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
c81be0f6
Commit
c81be0f6
authored
Aug 10, 2017
by
Gennadiy Civil
Committed by
GitHub
Aug 10, 2017
Browse files
Merge pull request #871 from tommyleo2/master
Update Primer.md
parents
c523461f
82396f2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
googletest/docs/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_
`, `
_str2
_
`);`
| 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