1. 15 Dec, 2022 1 commit
    • Abseil Team's avatar
      Shut up a Clang warning. · 3fa7f983
      Abseil Team authored
      Clang warns on this pattern because it looks like the author might
      have meant to use the value of the first part of the comma operator,
      so it warns that it isn't being used. The cast here signals to Clang
      that this behavior is intentional.
      
      This was discovered while updating gmock in Android. Clang's -Wcomma
      warning is on by default with either -Wall or -Werror, so users of
      gmock with those on in combination with -Werror are unable to build
      without this fix.
      
      PiperOrigin-RevId: 495655990
      Change-Id: Iaf27e2199669f5b6185a877738234e551b6b6556
      3fa7f983
  2. 14 Dec, 2022 1 commit
  3. 12 Dec, 2022 3 commits
  4. 08 Dec, 2022 1 commit
  5. 07 Dec, 2022 1 commit
  6. 06 Dec, 2022 1 commit
  7. 30 Nov, 2022 1 commit
    • Abseil Team's avatar
      Make SizeIsMatcher::Impl conform to the contract of MatcherDescriberInterface. · 1f643f71
      Abseil Team authored
      MatcherDescriberInterface specifies that DescribeTo "should print a verb phrase", but "size ..." is not a verb phrase. Currently, ElementsAre(SizeIs(9)) is described as "has 1 element that size is equal to 9". With this change, it will be described as "has 1 element that has a size that is equal to 9".
      
      PiperOrigin-RevId: 492022324
      Change-Id: I4083335f2419462464957521c1e033643b53b763
      1f643f71
  8. 29 Nov, 2022 1 commit
  9. 23 Nov, 2022 1 commit
  10. 21 Nov, 2022 1 commit
  11. 20 Nov, 2022 1 commit
  12. 16 Nov, 2022 1 commit
    • Abseil Team's avatar
      When printing floating-point numbers, print full precision by default. · 9c332145
      Abseil Team authored
      To make debug output readable, we still use the faster 6-digit precision
      sometimes, but only if it will round-trip.
      
      This way, when a test fails due to a very small difference in floating-point
      numbers, users will have enough digits to see the difference.
      
      PiperOrigin-RevId: 488958311
      Change-Id: Ibcac43f48a97006d89217530c69386cc4fa2735c
      9c332145
  13. 15 Nov, 2022 1 commit
  14. 14 Nov, 2022 2 commits
  15. 12 Nov, 2022 2 commits
  16. 11 Nov, 2022 1 commit
  17. 10 Nov, 2022 2 commits
  18. 08 Nov, 2022 1 commit
  19. 07 Nov, 2022 1 commit
  20. 05 Nov, 2022 1 commit
  21. 03 Nov, 2022 1 commit
  22. 25 Oct, 2022 2 commits
  23. 24 Oct, 2022 1 commit
  24. 21 Oct, 2022 2 commits
  25. 20 Oct, 2022 1 commit
  26. 19 Oct, 2022 2 commits
  27. 18 Oct, 2022 1 commit
  28. 17 Oct, 2022 3 commits
  29. 15 Oct, 2022 1 commit
  30. 14 Oct, 2022 1 commit