File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/test/java/shortestpath Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -108,6 +108,7 @@ public void everyEnumHasTsvEntry()
108108 for (AgilityShortcut s : AgilityShortcut .values ())
109109 {
110110 boolean matched = false ;
111+ boolean excluded = false ;
111112
112113 // check worldLocation (x y z) if present
113114 if (s .getWorldLocation () != null )
@@ -124,6 +125,8 @@ public void everyEnumHasTsvEntry()
124125 if (excludedIds .contains (id ))
125126 {
126127 // skip known-excluded IDs
128+ System .out .println ("Skipping excluded ID " + id + " for " + s .name ());
129+ excluded = true ;
127130 continue ;
128131 }
129132
@@ -135,7 +138,7 @@ public void everyEnumHasTsvEntry()
135138 }
136139 }
137140
138- if (!matched )
141+ if (!matched && ! excluded )
139142 {
140143 missing .append (s .name ()).append ('\n' );
141144 }
You can’t perform that action at this time.
0 commit comments