Skip to content

Commit

Permalink
Merge pull request ethz-asl#32 from ethz-asl/fix/newlines
Browse files Browse the repository at this point in the history
fixed some newlines: /n --> \n
  • Loading branch information
Markus Achtelik committed Jan 20, 2015
2 parents d0ad8b5 + f661748 commit e1e12fb
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions include/eigen-checks/internal/gtest-equal.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ ::testing::AssertionResult MatricesNear(
::testing::AssertionResult failure_reason(false);
failure_reason << "The matrices have a different number of rows: "
<< name_lhs << " has " << lhs.rows() << " rows while " << name_rhs
<< " has " << rhs.rows() << " rows./n";
<< " has " << rhs.rows() << " rows.\n";
return failure_reason;
}
if (lhs.cols() != rhs.cols()) {
::testing::AssertionResult failure_reason(false);
failure_reason << "The matrices have a different number of cols: "
<< name_lhs << " has " << lhs.cols() << " cols while " << name_rhs
<< " cols " << rhs.cols() << " cols./n";
failure_reason << name_lhs << ":\n" << lhs << "/n";
failure_reason << name_rhs << ":\n" << rhs << "/n";
<< " cols " << rhs.cols() << " cols.\n";
failure_reason << name_lhs << ":\n" << lhs << "\n";
failure_reason << name_rhs << ":\n" << rhs << "\n";
return failure_reason;
}

Expand Down Expand Up @@ -71,9 +71,9 @@ ::testing::AssertionResult MatricesNear(
}
}
}
failure_reason << name_lhs << ":\n" << lhs << "/n";
failure_reason << name_rhs << ":\n" << rhs << "/n";
failure_reason << "Difference:\n" << (lhs - rhs) << "/n";
failure_reason << name_lhs << ":\n" << lhs << "\n";
failure_reason << name_rhs << ":\n" << rhs << "\n";
failure_reason << "Difference:\n" << (lhs - rhs) << "\n";
return failure_reason;
}
}
Expand Down

0 comments on commit e1e12fb

Please sign in to comment.