Index: mojo/public/cpp/bindings/tests/struct_with_traits_impl_traits.cc |
diff --git a/mojo/public/cpp/bindings/tests/struct_with_traits_impl_traits.cc b/mojo/public/cpp/bindings/tests/struct_with_traits_impl_traits.cc |
index f58ce84652ba81bfd161073a0a7ee6ea96343c6a..8d4f97d43fffa05a1ad881936725a9d2ba592207 100644 |
--- a/mojo/public/cpp/bindings/tests/struct_with_traits_impl_traits.cc |
+++ b/mojo/public/cpp/bindings/tests/struct_with_traits_impl_traits.cc |
@@ -15,7 +15,7 @@ bool StructTraits<test::StructWithTraits, test::StructWithTraitsImpl>::Read( |
out->set_uint32(r.f_uint32()); |
out->set_uint64(r.f_uint64()); |
out->set_string(r.f_string().as_string()); |
- return true; |
+ return r.f_string() == r.f_string2(); |
} |
} // namespace mojo |