Added some broken autosingulars.

This commit is contained in:
Reinier Zwitserloot committed 2017-07-03 23:41:07 +02:00
1 parent ec6c61d82a
commit 4ee9215e7b
2 files changed
+6 -2

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ Mice = mouse
Lice = louse
News = !
# We could add more detail (axemen, boatsmen, boogymen, cavemen, gentlemen, etc, but (A) there's stuff like 'cerumen', and (B) the 'men' ending is common in singulars and other languages.)
# Therefore, the odds of a mistake are too high, so other than these 2 well known cases, so force the explicit singular.
# Therefore, the odds of a mistake are too high, so other than these 2 well known cases, force the explicit singular.
Men = man
Women = woman
minutiae = minutia
+5 -1
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2015 The Project Lombok Authors.
* Copyright (C) 2015-2017 The Project Lombok Authors.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -48,5 +48,9 @@ public class TestSingulars {
assertEquals("dataBase", autoSingularize("dataBases"));
assertEquals("Query", autoSingularize("Queries"));
assertEquals("Movie", autoSingularize("Movies"));
assertEquals("cafe", autoSingularize("cafes"));
assertEquals("cave", autoSingularize("caves"));
assertEquals("leaf", autoSingularize("leaves"));
assertEquals("autosave", autoSingularize("autosaves"));
}
}