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