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 2024/04/30 04:27:04 UTC

(shardingsphere) branch master updated: Fix test cases (#31071)

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 081c742e3f3 Fix test cases (#31071)
081c742e3f3 is described below

commit 081c742e3f31091c4e2e5fd5a63df470a376cd01
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Tue Apr 30 12:26:58 2024 +0800

    Fix test cases (#31071)
---
 .../yaml/swapper/MaskRuleConfigurationRepositoryTupleSwapperTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/features/mask/core/src/test/java/org/apache/shardingsphere/mask/yaml/swapper/MaskRuleConfigurationRepositoryTupleSwapperTest.java b/features/mask/core/src/test/java/org/apache/shardingsphere/mask/yaml/swapper/MaskRuleConfigurationRepositoryTupleSwapperTest.java
index 1fe8e3afc0b..278cbda4262 100644
--- a/features/mask/core/src/test/java/org/apache/shardingsphere/mask/yaml/swapper/MaskRuleConfigurationRepositoryTupleSwapperTest.java
+++ b/features/mask/core/src/test/java/org/apache/shardingsphere/mask/yaml/swapper/MaskRuleConfigurationRepositoryTupleSwapperTest.java
@@ -50,8 +50,8 @@ class MaskRuleConfigurationRepositoryTupleSwapperTest {
         Collection<RepositoryTuple> actual = new MaskRuleConfigurationRepositoryTupleSwapper().swapToRepositoryTuples(createMaximumMaskRule());
         assertThat(actual.size(), is(2));
         Iterator<RepositoryTuple> iterator = actual.iterator();
-        assertThat(iterator.next().getKey(), is("tables/foo"));
         assertThat(iterator.next().getKey(), is("mask_algorithms/FIXTURE"));
+        assertThat(iterator.next().getKey(), is("tables/foo"));
     }
     
     private MaskRuleConfiguration createMaximumMaskRule() {