Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 3 additions & 3 deletions googletest/src/matchers/all_matcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ mod tests {

#[test]
fn description_shows_more_than_one_matcher() -> Result<()> {
let first_matcher: StrMatcher<String, _> = starts_with("A");
let first_matcher: StrMatcher<String, _, _> = starts_with("A");
let second_matcher = ends_with("string");
let matcher = all!(first_matcher, second_matcher);

Expand All @@ -95,7 +95,7 @@ mod tests {

#[test]
fn description_shows_one_matcher_directly() -> Result<()> {
let first_matcher: StrMatcher<String, _> = starts_with("A");
let first_matcher: StrMatcher<String, _, _> = starts_with("A");
let matcher = all!(first_matcher);

verify_that!(
Expand All @@ -107,7 +107,7 @@ mod tests {
#[test]
fn mismatch_description_shows_which_matcher_failed_if_more_than_one_constituent() -> Result<()>
{
let first_matcher: StrMatcher<str, _> = starts_with("Another");
let first_matcher: StrMatcher<str, _, _> = starts_with("Another");
let second_matcher = ends_with("string");
let matcher = all!(first_matcher, second_matcher);

Expand Down
4 changes: 2 additions & 2 deletions googletest/src/matchers/any_matcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ mod tests {

#[test]
fn description_shows_more_than_one_matcher() -> Result<()> {
let first_matcher: StrMatcher<String, &str> = starts_with("A");
let first_matcher: StrMatcher<String, &str, _> = starts_with("A");
let second_matcher = ends_with("string");
let matcher = any!(first_matcher, second_matcher);

Expand All @@ -97,7 +97,7 @@ mod tests {

#[test]
fn description_shows_one_matcher_directly() -> Result<()> {
let first_matcher: StrMatcher<String, &str> = starts_with("A");
let first_matcher: StrMatcher<String, &str, _> = starts_with("A");
let matcher = any!(first_matcher);

verify_that!(
Expand Down
Loading