Skip to content

Commit

Permalink
Updating Gradle and Junit version
Browse files Browse the repository at this point in the history
  • Loading branch information
josdem committed Apr 10, 2024
1 parent d789f21 commit feb0232
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 12 deletions.
4 changes: 2 additions & 2 deletions simple-algorithms/counting-character/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ plugins {
id 'java'
}

def junitJupiterVersion = '5.7.0'
def junitJupiterVersion = '5.10.2'

group 'com.jos.dem.kata'
group 'com.josdem.kata'
version '1.0-SNAPSHOT'

repositories {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package com.josdem.kata;
public class CharacterCounter {
public int count(String keyword, char ch) {
return keyword.length() + (int) ch;
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.jos.dem.kata;
package com.josdem.kata;

/*
Given: A string named keyword
Expand All @@ -13,7 +13,7 @@

class CharacterCounterTest {

private CharacterCounter characterCounter = new CharacterCounter();
private final CharacterCounter characterCounter = new CharacterCounter();

@Test
@DisplayName("it counts m character")
Expand Down

0 comments on commit feb0232

Please sign in to comment.