Skip to content

Commit

Permalink
Fix kotlin object call
Browse files Browse the repository at this point in the history
Signed-off-by: alperozturk <[email protected]>
  • Loading branch information
alperozturk96 committed Nov 8, 2023
1 parent 0a5b276 commit b443e13
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public void noScheme() {

// WHEN
// scheme is normalized
String normalized = AuthenticatorUrlUtils.normalizeScheme(url);
String normalized = AuthenticatorUrlUtils.INSTANCE.normalizeScheme(url);

// THEN
// input is returned unchanged
Expand All @@ -54,7 +54,7 @@ public void lowercaseScheme() {

// WHEN
// scheme is normalized
String normalized = AuthenticatorUrlUtils.normalizeScheme(url);
String normalized = AuthenticatorUrlUtils.INSTANCE.normalizeScheme(url);

// THEN
// output is equal
Expand All @@ -70,7 +70,7 @@ public void uppercaseScheme() {

// WHEN
// scheme is normalized
String normalized = AuthenticatorUrlUtils.normalizeScheme(mixedCaseUrl);
String normalized = AuthenticatorUrlUtils.INSTANCE.normalizeScheme(mixedCaseUrl);

// THEN
// scheme has been lower-cased
Expand All @@ -87,7 +87,7 @@ public void emptyInput() {

// WHEN
// scheme is normalized
String normalized = AuthenticatorUrlUtils.normalizeScheme(emptyUrl);
String normalized = AuthenticatorUrlUtils.INSTANCE.normalizeScheme(emptyUrl);

// THEN
// output is empty
Expand All @@ -103,7 +103,7 @@ public void ipAddress() {

// WHEN
// scheme is normalized
String normalized = AuthenticatorUrlUtils.normalizeScheme(url);
String normalized = AuthenticatorUrlUtils.INSTANCE.normalizeScheme(url);

// THEN
// output is equal
Expand All @@ -119,7 +119,7 @@ public void withPort() {

// WHEN
// scheme is normalized
String normalized = AuthenticatorUrlUtils.normalizeScheme(url);
String normalized = AuthenticatorUrlUtils.INSTANCE.normalizeScheme(url);

// THEN
// output is equal
Expand All @@ -136,7 +136,7 @@ public void ipAddressWithPort() {

// WHEN
// scheme is normalized
String normalized = AuthenticatorUrlUtils.normalizeScheme(url);
String normalized = AuthenticatorUrlUtils.INSTANCE.normalizeScheme(url);

// THEN
// output is equal
Expand Down

0 comments on commit b443e13

Please sign in to comment.