Signed-off-by: contextshuffling <contextshuffling@gmail.com>
This commit is contained in:
parent
f09e03c586
commit
320e848c57
|
@ -471,7 +471,10 @@ public class MultiMapTest
|
||||||
|
|
||||||
mm.putValues("food", "apple", "cherry", "raspberry");
|
mm.putValues("food", "apple", "cherry", "raspberry");
|
||||||
|
|
||||||
assertEquals("{color=red, food=[apple, cherry, raspberry]}", mm.toString());
|
String expected1 = "{color=red, food=[apple, cherry, raspberry]}";
|
||||||
|
String expected2 = "{food=[apple, cherry, raspberry], color=red}";
|
||||||
|
String actual = mm.toString();
|
||||||
|
assertTrue(actual.equals(expected1) || actual.equals(expected2));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue