--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAKLzqjGo4kN7SBP1pd_-6W9VReedbNqGQR%2B8gi6SsPUYYZVUOg%40mail.gmail.com.
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
I think it's fine to use either order, since googletest explicitly gave up on this… because people were already inconsistent about following the convention. I'd say be consistent within a test file though.
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAAHOzFBEj723ySJPLgRR4mzoBz80zBg7N5LeJoCM3T1XXrfTNA%40mail.gmail.com.
Yep. Additionally, people familiar with gtest will often use assert_equals(expected, actual) and similar in testharness.js tests where it doesn't cause the test to fail but does make the error message confusing.Maybe the fix is to make testharness.js order-agnostic too, but of course that doesn't work for < or >.
On Thu, May 10, 2018, 07:42 'Harald Alvestrand' via Chromium-dev <chromi...@chromium.org> wrote:
The big gotcha here is EXPECT_LT and friends. They work opposite in gtest and testharness.js, and have bitten me repeatedly.
Den ons. 9. mai 2018, 22:56 skrev Peter Kasting <pkas...@chromium.org>:
--On Wed, May 9, 2018 at 1:49 PM Daniel Cheng <dch...@chromium.org> wrote:I think it's fine to use either order, since googletest explicitly gave up on this… because people were already inconsistent about following the convention. I'd say be consistent within a test file though.+1PK
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAAHOzFBEj723ySJPLgRR4mzoBz80zBg7N5LeJoCM3T1XXrfTNA%40mail.gmail.com.
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAOqqYVFMjW%2BJvjP9SM%3DgtUoH0R31sC%2BoiJiZJeeGrF5ZtwNROg%40mail.gmail.com.
Order-agnosticism, and as a side effect banning assert_lt and friends would work for me.I note that node.js' builtin "assert" library does assert.deepStrictEqual(actual, expected), so there is probably no hope for consistency between libraries.On Thu, May 10, 2018 at 12:43 PM, Philip Jägenstedt <foo...@google.com> wrote:Yep. Additionally, people familiar with gtest will often use assert_equals(expected, actual) and similar in testharness.js tests where it doesn't cause the test to fail but does make the error message confusing.Maybe the fix is to make testharness.js order-agnostic too, but of course that doesn't work for < or >.
On Thu, May 10, 2018, 07:42 'Harald Alvestrand' via Chromium-dev <chromi...@chromium.org> wrote:
The big gotcha here is EXPECT_LT and friends. They work opposite in gtest and testharness.js, and have bitten me repeatedly.
Den ons. 9. mai 2018, 22:56 skrev Peter Kasting <pkas...@chromium.org>:
--On Wed, May 9, 2018 at 1:49 PM Daniel Cheng <dch...@chromium.org> wrote:I think it's fine to use either order, since googletest explicitly gave up on this… because people were already inconsistent about following the convention. I'd say be consistent within a test file though.+1PK
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAAHOzFBEj723ySJPLgRR4mzoBz80zBg7N5LeJoCM3T1XXrfTNA%40mail.gmail.com.
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAOqqYVFMjW%2BJvjP9SM%3DgtUoH0R31sC%2BoiJiZJeeGrF5ZtwNROg%40mail.gmail.com.
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAOqqYVEO1Y0M4ZH9DxSuamScuBZ6VBWL4nK2Kd%2BFSSwAhYHG-g%40mail.gmail.com.
Order-agnosticism, and as a side effect banning assert_lt and friends would work for me.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAOqqYVEO1Y0M4ZH9DxSuamScuBZ6VBWL4nK2Kd%2BFSSwAhYHG-g%40mail.gmail.com.