mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-10-13 17:49:25 +00:00
Fix C++ code smells
* Move "using namespace std;" from header to module file (to no longer pollute the global namespace). * Fix inconsistency of having namespace prefix in test code. * Add include guard to GildedRose.h. * Avoid std::endl. * Have consistent white-space.
This commit is contained in:
1 parent
6c59257f27
commit
73a51ef14f
7 files changed
+22
-23
No files matched your search
@@ -3,7 +3,7 @@
|
||||
|
||||
TEST_CASE("GildedRoseUnitTest", "Foo")
|
||||
{
|
||||
vector<Item> items;
|
||||
std::vector<Item> items;
|
||||
items.push_back(Item("Foo", 0, 0));
|
||||
GildedRose app(items);
|
||||
app.updateQuality();
|
||||
|
||||
Reference in new issue
Block a user