You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by du...@apache.org on 2022/08/02 06:28:17 UTC

[shardingsphere] branch master updated: Rename shortcuts-fixture.yaml (#19780)

This is an automated email from the ASF dual-hosted git repository.

duanzhengqiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new d2a20a097dc Rename shortcuts-fixture.yaml (#19780)
d2a20a097dc is described below

commit d2a20a097dcf0fbb31b3dd407cf0f43e40cde4fd
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Tue Aug 2 14:28:11 2022 +0800

    Rename shortcuts-fixture.yaml (#19780)
---
 .../org/apache/shardingsphere/infra/util/yaml/YamlEngineTest.java     | 4 ++--
 .../test/resources/yaml/{fixture-rule.yaml => shortcuts-fixture.yaml} | 0
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/shardingsphere-infra/shardingsphere-infra-util/src/test/java/org/apache/shardingsphere/infra/util/yaml/YamlEngineTest.java b/shardingsphere-infra/shardingsphere-infra-util/src/test/java/org/apache/shardingsphere/infra/util/yaml/YamlEngineTest.java
index cee14dc3e95..2157e6dcabe 100644
--- a/shardingsphere-infra/shardingsphere-infra-util/src/test/java/org/apache/shardingsphere/infra/util/yaml/YamlEngineTest.java
+++ b/shardingsphere-infra/shardingsphere-infra-util/src/test/java/org/apache/shardingsphere/infra/util/yaml/YamlEngineTest.java
@@ -37,7 +37,7 @@ public final class YamlEngineTest {
     
     @Test
     public void assertUnmarshalWithFile() throws IOException {
-        URL url = getClass().getClassLoader().getResource("yaml/fixture-rule.yaml");
+        URL url = getClass().getClassLoader().getResource("yaml/shortcuts-fixture.yaml");
         assertNotNull(url);
         YamlShortcutsConfigurationFixture actual = YamlEngine.unmarshal(new File(url.getFile()), YamlShortcutsConfigurationFixture.class);
         assertThat(actual.getName(), is("test"));
@@ -45,7 +45,7 @@ public final class YamlEngineTest {
     
     @Test
     public void assertUnmarshalWithYamlBytes() throws IOException {
-        URL url = getClass().getClassLoader().getResource("yaml/fixture-rule.yaml");
+        URL url = getClass().getClassLoader().getResource("yaml/shortcuts-fixture.yaml");
         assertNotNull(url);
         StringBuilder yamlContent = new StringBuilder();
         try (
diff --git a/shardingsphere-infra/shardingsphere-infra-util/src/test/resources/yaml/fixture-rule.yaml b/shardingsphere-infra/shardingsphere-infra-util/src/test/resources/yaml/shortcuts-fixture.yaml
similarity index 100%
rename from shardingsphere-infra/shardingsphere-infra-util/src/test/resources/yaml/fixture-rule.yaml
rename to shardingsphere-infra/shardingsphere-infra-util/src/test/resources/yaml/shortcuts-fixture.yaml