aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test
diff options
context:
space:
mode:
authorGravatar janakr <janakr@google.com>2018-03-26 11:10:08 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-03-26 11:11:30 -0700
commitcfc3432003a1a65ee9ef4046e8dc248363f9bcca (patch)
tree0f75acb2585a34540f834baab844383928ad8030 /src/test
parent3b9e1522bc20ead42f40870f9dabb72b1545c7df (diff)
Automated rollback of commit 316cd7da6f6b003b853ccf7d144f395a9a557400.
*** Reason for rollback *** Roll-forward with fix (equality and hashcode for relevant classes). Also add a bit more debugging info in case of failure. PiperOrigin-RevId: 190492934
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/com/google/devtools/build/lib/syntax/EnvironmentTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/syntax/EnvironmentTest.java b/src/test/java/com/google/devtools/build/lib/syntax/EnvironmentTest.java
index 44d8c1c6ab..f1339bd4ce 100644
--- a/src/test/java/com/google/devtools/build/lib/syntax/EnvironmentTest.java
+++ b/src/test/java/com/google/devtools/build/lib/syntax/EnvironmentTest.java
@@ -348,9 +348,9 @@ public class EnvironmentTest extends EvaluationTestCase {
assertCheckStateFailsWithMessage(
new Extension(ImmutableMap.of("x", 1, "y", "foo", "z", true), "abc"),
new Extension(ImmutableMap.of("x", 2.0, "y", "foo", "z", false), "abc"),
- "bindings are unequal: x: this one has 1 (class java.lang.Integer), but given one has 2.0 "
- + "(class java.lang.Double); z: this one has True (class java.lang.Boolean), but given "
- + "one has False (class java.lang.Boolean)");
+ "bindings are unequal: x: this one has 1 (class java.lang.Integer, 1), but given one has "
+ + "2.0 (class java.lang.Double, 2.0); z: this one has True (class java.lang.Boolean, "
+ + "true), but given one has False (class java.lang.Boolean, false)");
}
@Test