Browse Source

Small formatting output fix

Mitch Taylor 6 years ago
parent
commit
cc7d69ba0b

+ 5
- 5
src/main/java/io/zipcoder/ItemParser.java View File

@@ -100,21 +100,21 @@ public class ItemParser {
100 100
         doEverythingBesidesOutput();
101 101
         for (int i = 0; i < milkData.getFoodPrices().size(); i++) {
102 102
             System.out.println(String.format("%-15s%10s%15s%2d%5s", "name:", "Milk", "seen: ", milkData.getFoodPrices().size(), " times"));
103
-            System.out.println("===============================================");
103
+            System.out.println("================================================");
104 104
         }
105 105
         for (int j = 0; j < cookieData.getFoodPrices().size(); j++) {
106 106
             System.out.println(String.format("%-15s%10s%15s%2d%5s", "name:", "Cookies", "seen: ", cookieData.getFoodPrices().size(), " times"));
107
-            System.out.println("===============================================");
107
+            System.out.println("================================================");
108 108
         }
109 109
         for (int k = 0; k < breadData.getFoodPrices().size(); k++) {
110 110
             System.out.println(String.format("%-15s%10s%15s%2d%5s", "name:", "Bread", "seen: ", breadData.getFoodPrices().size(), " times"));
111
-            System.out.println("===============================================");
111
+            System.out.println("================================================");
112 112
         }
113 113
         for (int l = 0; l < appleData.getFoodPrices().size(); l++) {
114 114
             System.out.println(String.format("%-15s%10s%15s%2d%5s", "name:", "Apple", "seen: ", appleData.getFoodPrices().size(), " times"));
115
-            System.out.println("===============================================");
115
+            System.out.println("================================================");
116 116
         }
117
-        System.out.println("Exceptions: " + errorCounter);
117
+        System.out.println("Exceptions:                                    " + errorCounter);
118 118
     }
119 119
 
120 120
 }

+ 1
- 1
src/test/java/io/zipcoder/ItemParserTest.java View File

@@ -80,7 +80,7 @@ public class ItemParserTest {
80 80
     }
81 81
 
82 82
     @Test
83
-    public void outputTest() {
83
+    public void runProductionInATestEnvironmentLol() {
84 84
         itemParser.output();
85 85
     }
86 86