Skip to content

Commit

Permalink
optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
HamaWhiteGG committed Jul 20, 2023
1 parent 0668fec commit 16d17ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
import java.util.Locale;
import java.util.ResourceBundle;

/**
* @author Borges
*/
@UtilityClass
public class ResourceBundleUtils {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@

import static org.junit.jupiter.api.Assertions.assertEquals;

public class ResourceBundleUtilsTest {
class ResourceBundleUtilsTest {

@Test
public void testResourceBundleGetDefaultLanguageEN() {
void testResourceBundleGetDefaultLanguageEN() {
String suffix = ResourceBundleUtils.getString("prompt.suffix");
assertEquals("Only use the following tables: {table_info} Question: {input}", suffix);
}
Expand Down

0 comments on commit 16d17ea

Please sign in to comment.