mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 04:12:13 +00:00
only need one item in array
This commit is contained in:
parent
25a3d10aa3
commit
3cfb4fd08e
@ -16,7 +16,7 @@ TEST_GROUP(TestGildedRoseGroup)
|
|||||||
|
|
||||||
TEST(TestGildedRoseGroup, FirstTest)
|
TEST(TestGildedRoseGroup, FirstTest)
|
||||||
{
|
{
|
||||||
Item items[2];
|
Item items[1];
|
||||||
init_item(items, "Foo", 0, 0);
|
init_item(items, "Foo", 0, 0);
|
||||||
update_quality(items, 1);
|
update_quality(items, 1);
|
||||||
STRCMP_EQUAL("fixme", items[0].name);
|
STRCMP_EQUAL("fixme", items[0].name);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user