File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
src/test/java/org/skyscreamer/jsonassert Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 66
77import java .text .MessageFormat ;
88
9+ import org .json .JSONArray ;
910import org .json .JSONException ;
11+ import org .json .JSONObject ;
1012import org .junit .Test ;
1113import org .skyscreamer .jsonassert .comparator .ArraySizeComparator ;
1214import org .skyscreamer .jsonassert .comparator .CustomComparator ;
@@ -221,6 +223,7 @@ public void verifyEveryArrayElementWithCustomComparator() throws JSONException {
221223 customizations [i ] = new Customization (contextPath , regExValueMatcher );
222224 }
223225 CustomComparator regExComparator = new CustomComparator (JSONCompareMode .STRICT_ORDER , customizations );
226+
224227 ArrayValueMatcher <Object > regExArrayValueMatcher = new ArrayValueMatcher <Object >(regExComparator );
225228 Customization regExArrayValueCustomization = new Customization ("a" , regExArrayValueMatcher );
226229 CustomComparator regExCustomArrayValueComparator = new CustomComparator (JSONCompareMode .STRICT_ORDER , new Customization [] { regExArrayValueCustomization });
You can’t perform that action at this time.
0 commit comments