The updated version parsing code in About.java insists on a 3 digit
version number. Removed the first tests with only 1 digit version strings.
Review by: jat(TBR)
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@5515 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/dev/core/test/com/google/gwt/dev/shell/CheckForUpdatesTest.java b/dev/core/test/com/google/gwt/dev/shell/CheckForUpdatesTest.java
index dad4351..ae605e6 100644
--- a/dev/core/test/com/google/gwt/dev/shell/CheckForUpdatesTest.java
+++ b/dev/core/test/com/google/gwt/dev/shell/CheckForUpdatesTest.java
@@ -12,14 +12,8 @@
GwtVersion v1 = new GwtVersion(null);
assertEquals(0, v1.compareTo(v1));
- v1 = new GwtVersion("1");
- assertEquals(0, v1.compareTo(v1));
- GwtVersion v2 = new GwtVersion("2");
- assertTrue(v1.compareTo(v2) < 0);
- assertTrue(v2.compareTo(v1) > 0);
-
v1 = new GwtVersion("1.2.3");
- v2 = new GwtVersion(null);
+ GwtVersion v2 = new GwtVersion(null);
assertTrue(v1.compareTo(v2) > 0);
assertTrue(v2.compareTo(v1) < 0);