brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henev...@apache.org
Subject [4/8] git commit: fix unit test for inferring filename
Date Mon, 15 Sep 2014 22:57:35 GMT
fix unit test for inferring filename


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

Branch: refs/heads/master
Commit: 88618458d9cd643a24dbb7da8da893cb216b048d
Parents: 934b073
Author: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
Authored: Mon Sep 15 13:34:29 2014 +0100
Committer: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
Committed: Mon Sep 15 13:34:29 2014 +0100

----------------------------------------------------------------------
 .../brooklyn/entity/drivers/downloads/FilenameProducersTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/88618458/core/src/test/java/brooklyn/entity/drivers/downloads/FilenameProducersTest.java
----------------------------------------------------------------------
diff --git a/core/src/test/java/brooklyn/entity/drivers/downloads/FilenameProducersTest.java
b/core/src/test/java/brooklyn/entity/drivers/downloads/FilenameProducersTest.java
index b8c9992..06747bf 100644
--- a/core/src/test/java/brooklyn/entity/drivers/downloads/FilenameProducersTest.java
+++ b/core/src/test/java/brooklyn/entity/drivers/downloads/FilenameProducersTest.java
@@ -28,6 +28,6 @@ public class FilenameProducersTest {
     public void testInferFilename() throws Exception {
         assertEquals(FilenameProducers.inferFilename("myname.tgz"), "myname.tgz");
         assertEquals(FilenameProducers.inferFilename("a/myname.tgz"), "myname.tgz");
-        assertEquals(FilenameProducers.inferFilename("acme.com/download/"), "");
+        assertEquals(FilenameProducers.inferFilename("acme.com/download/"), null);
     }
 }


Mime
View raw message