Skip to content

Commit

Permalink
[type: typo] (test) Fix "After" typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tanpenggood committed Jan 14, 2025
1 parent 07c13e7 commit 5932aa1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/test/java/org/apache/ibatis/jdbc/ScriptRunnerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ void shouldReturnWarningIfEndOfLineTerminatorNotFound() throws Exception {
}

@Test
void commentAferStatementDelimiterShouldNotCauseRunnerFail() throws Exception {
void commentAfterStatementDelimiterShouldNotCauseRunnerFail() throws Exception {
DataSource ds = createUnpooledDataSource(JPETSTORE_PROPERTIES);
String resource = "org/apache/ibatis/jdbc/ScriptCommentAfterEOLTerminator.sql";
try (Connection conn = ds.getConnection(); Reader reader = Resources.getResourceAsReader(resource)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ void updateShouldFlushLocalCache() {
}

@Test
void selectShouldFlushLocalCacheIfFlushLocalCacheAtferEachStatementIsTrue() throws SQLException {
void selectShouldFlushLocalCacheIfFlushLocalCacheAfterEachStatementIsTrue() throws SQLException {
sqlSessionFactory.getConfiguration().setLocalCacheScope(LocalCacheScope.STATEMENT);
try (SqlSession sqlSession = sqlSessionFactory.openSession(ExecutorType.SIMPLE)) {
PersonMapper personMapper = sqlSession.getMapper(PersonMapper.class);
Expand Down

0 comments on commit 5932aa1

Please sign in to comment.