Skip to content

Commit 8288e23

Browse files
author
Ram swaroop
committed
added use cases
1 parent 80abc18 commit 8288e23

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/me/ramswaroop/strings/RemoveExtraSpaces.java

+3
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,8 @@ public static void main(String a[]) {
5858
System.out.println(removeExtraSpaces(" ram swaroop is a good boy."));
5959
System.out.println(removeExtraSpaces("ram swaroop is a good boy ."));
6060
System.out.println(removeExtraSpaces(" ram swaroop is a good boy ."));
61+
System.out.println(removeExtraSpaces(" "));
62+
System.out.println(removeExtraSpaces(""));
63+
System.out.println(removeExtraSpaces(" "));
6164
}
6265
}

0 commit comments

Comments
 (0)