Skip to content

Commit

Permalink
🐛: 修复TestCase中全局参数的分割
Browse files Browse the repository at this point in the history
  • Loading branch information
JayWenStar committed Jan 17, 2022
1 parent 291e815 commit 05eff1d
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 05eff1d

Please sign in to comment.