This is an automated email from the ASF dual-hosted git repository.

davidb pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature-analyser.git


The following commit(s) were added to refs/heads/master by this push:
     new 0b5c570  Fix test failure introduced by rewording message
0b5c570 is described below

commit 0b5c57056c54bf2081dc8e2f956b1804fed0eb25
Author: David Bosschaert <bossc...@adobe.com>
AuthorDate: Thu Nov 15 10:35:10 2018 +0000

    Fix test failure introduced by rewording message
---
 .../analyser/task/impl/CheckApiRegionsDependenciesTest.java       | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/src/test/java/org/apache/sling/feature/analyser/task/impl/CheckApiRegionsDependenciesTest.java
 
b/src/test/java/org/apache/sling/feature/analyser/task/impl/CheckApiRegionsDependenciesTest.java
index e051d15..617408c 100644
--- 
a/src/test/java/org/apache/sling/feature/analyser/task/impl/CheckApiRegionsDependenciesTest.java
+++ 
b/src/test/java/org/apache/sling/feature/analyser/task/impl/CheckApiRegionsDependenciesTest.java
@@ -16,12 +16,12 @@
  */
 package org.apache.sling.feature.analyser.task.impl;
 
-import static org.junit.Assert.assertFalse;
-import static org.junit.Assert.assertTrue;
+import org.junit.Test;
 
 import java.util.List;
 
-import org.junit.Test;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertTrue;
 
 public class CheckApiRegionsDependenciesTest extends 
AbstractApiRegionsAnalyserTaskTest<CheckApiRegionsDependencies> {
 
@@ -37,7 +37,7 @@ public class CheckApiRegionsDependenciesTest extends 
AbstractApiRegionsAnalyserT
         assertFalse(errors.isEmpty());
         assertTrue(errors.iterator()
                 .next()
-                .equals("Bundle 'org.osgi:org.osgi.util.function:1.0.0' 
(defined in feature 
'org.apache.sling.testing:org.apache.sling.testing.apiregions:1.0.0') declares 
'org.osgi.util.function' in the 'Export-Package' header, enlisted in the 
'global' region, which requires 'org.objectweb.asm' package that is in the 
'deprecated' region"));
+                .equals("Bundle 'org.osgi:org.osgi.util.function:1.0.0' 
(defined in feature 
'org.apache.sling.testing:org.apache.sling.testing.apiregions:1.0.0') declares 
'org.osgi.util.function' in the 'Export-Package' header, enlisted in the 
'global' region, which uses 'org.objectweb.asm' package that is in the 
'deprecated' region"));
     }
 
     @Test

Reply via email to