beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lc...@apache.org
Subject [1/3] incubator-beam git commit: De-pluralize error message expectation in LatestFnTests
Date Thu, 06 Oct 2016 16:57:23 GMT
Repository: incubator-beam
Updated Branches:
  refs/heads/master 8130bc36f -> f554398bc


De-pluralize error message expectation in LatestFnTests


Project: http://git-wip-us.apache.org/repos/asf/incubator-beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam/commit/60a8aef7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/60a8aef7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/60a8aef7

Branch: refs/heads/master
Commit: 60a8aef713925e643cf9ec2bcb5c0b518aaa49e0
Parents: 8130bc3
Author: Kenneth Knowles <klk@google.com>
Authored: Tue Oct 4 13:23:17 2016 -0700
Committer: Luke Cwik <lcwik@google.com>
Committed: Thu Oct 6 09:49:52 2016 -0700

----------------------------------------------------------------------
 .../test/java/org/apache/beam/sdk/transforms/LatestFnTests.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/60a8aef7/sdks/java/core/src/test/java/org/apache/beam/sdk/transforms/LatestFnTests.java
----------------------------------------------------------------------
diff --git a/sdks/java/core/src/test/java/org/apache/beam/sdk/transforms/LatestFnTests.java
b/sdks/java/core/src/test/java/org/apache/beam/sdk/transforms/LatestFnTests.java
index 84b5b68..459a966 100644
--- a/sdks/java/core/src/test/java/org/apache/beam/sdk/transforms/LatestFnTests.java
+++ b/sdks/java/core/src/test/java/org/apache/beam/sdk/transforms/LatestFnTests.java
@@ -103,7 +103,7 @@ public class LatestFnTests {
   @Test
   public void testAddInputNullAccumulator() {
     thrown.expect(NullPointerException.class);
-    thrown.expectMessage("accumulators");
+    thrown.expectMessage("accumulator");
     fn.addInput(null, TV);
   }
 


Mime
View raw message