aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api/src/test
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2022-01-05 16:17:09 -0600
committersonartech <sonartech@sonarsource.com>2022-02-02 20:02:54 +0000
commita53007e8246c8d44b0c9af4bd3757313c48dd230 (patch)
treec53786ac80233b0296ee345e11d64bb762e5b463 /sonar-plugin-api/src/test
parente6afd7889c39e6b9db5e62ee5f850eae598ba62d (diff)
downloadsonarqube-a53007e8246c8d44b0c9af4bd3757313c48dd230.tar.gz
sonarqube-a53007e8246c8d44b0c9af4bd3757313c48dd230.zip
SONAR-15966 Use Spring instead of Pico as dependency injection framework in the scanner-engine
Co-authored-by: Zipeng WU <zipeng.wu@sonarsource.com>
Diffstat (limited to 'sonar-plugin-api/src/test')
-rw-r--r--sonar-plugin-api/src/test/java/org/sonar/api/resources/LanguagesTest.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/sonar-plugin-api/src/test/java/org/sonar/api/resources/LanguagesTest.java b/sonar-plugin-api/src/test/java/org/sonar/api/resources/LanguagesTest.java
index 7df44279de2..5b8fb2a8f49 100644
--- a/sonar-plugin-api/src/test/java/org/sonar/api/resources/LanguagesTest.java
+++ b/sonar-plugin-api/src/test/java/org/sonar/api/resources/LanguagesTest.java
@@ -29,8 +29,8 @@ public class LanguagesTest {
@Test
public void should_add_several_times_the_same_language() {
Languages languages = new Languages(
- language("fake"),
- language("fake"));
+ language("fake"),
+ language("fake"));
assertThat(languages.get("fake").getKey()).isEqualTo("fake");
}
@@ -38,8 +38,8 @@ public class LanguagesTest {
@Test
public void should_get_suffixes() {
Languages languages = new Languages(
- language("java", "java"),
- language("php", "php4", "php5"));
+ language("java", "java"),
+ language("php", "php4", "php5"));
assertThat(languages.getSuffixes()).containsOnly("java", "php4", "php5");
assertThat(languages.getSuffixes("java")).containsOnly("java");