Skip to content

Commit

Permalink
[WFCORE-4916] Unclear attribute name completion for LIST type
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristinaDsl committed Mar 22, 2023
1 parent 138c71b commit 8e03c02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ public Collection<String> getCandidates(ModelNode attrsDescr, boolean writeOnly)
candidateIndex += chunk.length();
}
candidates.add("[");
candidates.add(",");
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ public void testMain() throws Exception {

candidates.clear();
i = completer.complete(null, "step1.step2", 0, candidates);
assertEquals(Arrays.asList("["), candidates);
assertEquals(Arrays.asList(",", "["), candidates);
assertEquals(11, i);

candidates.clear();
Expand Down

0 comments on commit 8e03c02

Please sign in to comment.