Skip to content

Commit

Permalink
Merge pull request #120 from JayWenStar/fix_globle_params_2
Browse files Browse the repository at this point in the history
🐛: 修复TestCase中全局参数的分割
  • Loading branch information
ZhouYixun authored Jan 17, 2022
2 parents 2f6ff62 + 05eff1d commit 03fd8db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public JSONObject findSteps(int id) {
Map<String, List<String>> valueMap = new HashMap<>();
for (GlobalParams g : globalParamsList) {
if (g.getParamsValue().contains("|")) {
List<String> shuffle = Arrays.asList(g.getParamsValue().split("|"));
List<String> shuffle = Arrays.asList(g.getParamsValue().split("\\|"));
Collections.shuffle(shuffle);
valueMap.put(g.getParamsKey(), shuffle);
} else {
Expand Down

0 comments on commit 03fd8db

Please sign in to comment.