(t *testing.T, stackItem, testItem string)
| 241 | } |
| 242 | |
| 243 | func compareItems(t *testing.T, stackItem, testItem string) { |
| 244 | if stackItem != testItem { |
| 245 | t.Fatalf("Item on top of stack does not match expected item. Got %v, wanted %v", stackItem, testItem) |
| 246 | } |
| 247 | } |