Bug #5439
com.goldencode.util.Stack problem
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:
0%
billable:
No
vendor_id:
GCD
case_num:
version_reported:
version_resolved:
History
#1 Updated by Vladimir Tsichevski about 3 years ago
The following tests fail:
final Stack<String> stack = new Stack<>(); stack.push("hello"); // the "[]" string is returned instead of expected "[hello]" assertEquals("[hello]", stack.toString()); stack = new Stack<>(); stack.push("hello"); assertTrue(stack.iterator().hasNext());