Skip to content

Commit 805f6d4

Browse files
committed
Make Sonar happy
1 parent ec8784b commit 805f6d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/java/io/simplelocalize/cli/client/SystemProxySelectorTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ void shouldReturnProxyConfigWhenNoAuthAndNoPort(String given, ProxyConfiguration
4848
ProxyConfiguration result = SystemProxySelector.getHttpProxyValueOrNull(given);
4949

5050
//then
51-
assertEquals(result, expected);
51+
assertEquals(expected, result);
5252
}
5353

5454
@Test
@@ -61,7 +61,7 @@ void shouldNotPrintPasswordWhenToString()
6161
String result = given.toString();
6262

6363
//then
64-
assertEquals(result, "host='123.456.789.000', port=8080, username='foo', password='*****'");
64+
assertEquals("host='123.456.789.000', port=8080, username='foo', password='*****'", result);
6565
}
6666

6767
@Test
@@ -74,7 +74,7 @@ void shouldPrintNullPasswordWhenToString()
7474
String result = given.toString();
7575

7676
//then
77-
assertEquals(result, "host='123.456.789.000', port=8080, username='null', password='null'");
77+
assertEquals("host='123.456.789.000', port=8080, username='null', password='null'", result);
7878
}
7979

8080
}

0 commit comments

Comments
 (0)