This is an automated email from the ASF dual-hosted git repository. xiaoyu pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/shenyu.git
The following commit(s) were added to refs/heads/master by this push: new 70f67f6036 fix typos and tests (#6036) 70f67f6036 is described below commit 70f67f6036e778f84fb6a134c1e0b517b1663901 Author: ttfont <132729084+ttf...@users.noreply.github.com> AuthorDate: Tue Jun 10 20:17:50 2025 +0800 fix typos and tests (#6036) --- RELEASE-NOTES.md | 4 ++-- .../src/main/resources/application.yml | 2 +- .../shenyu/plugin/mock/generator/RandomDoubleGeneratorTest.java | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 09610d4cc4..94d8aae441 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -241,9 +241,9 @@ 16. Upgrade Dubbo version to 3.2.5 and refactor some methods 17. Refactor AbstractShenyuSdkClient getOrDefault method 18. Refactor http client properties -19. Refactor webcliet plugin implement +19. Refactor webclient plugin implement 20. Upgrade com.google.guava:guava to 32.0.0-jre -21. support k8s as e2e test case enviroment +21. support k8s as e2e test case environment 22. Refactor @Restapi as rest api request mapping 23. String concatenation recommended using StringBuilder 24. Set the netty allocator to unpooled diff --git a/shenyu-examples/shenyu-examples-motan/shenyu-examples-motan-service/src/main/resources/application.yml b/shenyu-examples/shenyu-examples-motan/shenyu-examples-motan-service/src/main/resources/application.yml index ee424a0961..ef6831de0d 100644 --- a/shenyu-examples/shenyu-examples-motan/shenyu-examples-motan-service/src/main/resources/application.yml +++ b/shenyu-examples/shenyu-examples-motan/shenyu-examples-motan-service/src/main/resources/application.yml @@ -21,7 +21,7 @@ server: spring: application: - name: motan-exmaples + name: motan-examples shenyu: namespace: 649330b6-c2d7-4edc-be8e-8a54df9eb385 diff --git a/shenyu-plugin/shenyu-plugin-mock/src/test/java/org/apache/shenyu/plugin/mock/generator/RandomDoubleGeneratorTest.java b/shenyu-plugin/shenyu-plugin-mock/src/test/java/org/apache/shenyu/plugin/mock/generator/RandomDoubleGeneratorTest.java index fd5019d740..0f47efa4a1 100644 --- a/shenyu-plugin/shenyu-plugin-mock/src/test/java/org/apache/shenyu/plugin/mock/generator/RandomDoubleGeneratorTest.java +++ b/shenyu-plugin/shenyu-plugin-mock/src/test/java/org/apache/shenyu/plugin/mock/generator/RandomDoubleGeneratorTest.java @@ -35,10 +35,10 @@ public final class RandomDoubleGeneratorTest { public void generate() { String doubleValue = generator.generate("double|10.5-12.0", null); assertNotNull(doubleValue); - String formated = generator.generate("double|10.5-12.0|¥%.2f", null); + String formatted = generator.generate("double|10.5-12.0|¥%.2f", null); assertAll( - () -> assertNotNull(formated), - () -> assertTrue(formated.matches("^¥\\d+.\\d{2}$")) + () -> assertNotNull(formatted), + () -> assertTrue(formatted.matches("^¥\\d+.\\d{2}$")) ); }