Update src/test/java/com/designpatterns/factorypattern/PolygonFactoryTest.java

Co-Authored-By: Libin Yang <contact@yanglibin.info>
This commit is contained in:
Abhijay Kumar 2019-05-16 13:05:42 +05:30 committed by GitHub
parent 6ffb2d5b4e
commit 321ebea864
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,7 @@ public class PolygonFactoryTest {
}
//Test for pentagon
// Test for pentagon
Polygon pentagon = polFactory.getPolygon(5);
if (!"Pentagon".equals(pentagon.getType())) {
failReason += "Polygon Factory failed for Pentagon.";