Skip to content

Commit

Permalink
add StringTest for study test
Browse files Browse the repository at this point in the history
  • Loading branch information
javajigi committed May 25, 2021
1 parent 01add8f commit 47def49
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
Empty file removed src/test/java/.gitkeep
Empty file.
13 changes: 13 additions & 0 deletions src/test/java/study/StringTest.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package study;

import org.junit.jupiter.api.Test;

import static org.assertj.core.api.Assertions.assertThat;

public class StringTest {
@Test
void replace() {
String actual = "abc".replace("b", "d");
assertThat(actual).isEqualTo("adc");
}
}

0 comments on commit 47def49

Please sign in to comment.