aboutsummaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorAhmed Ashour <asashour@yahoo.com>2017-09-25 06:54:30 +0200
committerHenri Sara <henri.sara@gmail.com>2017-09-25 07:54:30 +0300
commit3c0c3e0a997f66821d037df641c435dda930a890 (patch)
tree152afe8c3340dafaa50562f1a21a3b2325583639 /uitest
parent40d15b32e341a38dacc24cc3ec79ab3ff0a25a50 (diff)
downloadvaadin-framework-3c0c3e0a997f66821d037df641c435dda930a890.tar.gz
vaadin-framework-3c0c3e0a997f66821d037df641c435dda930a890.zip
Fix typos (#10071)
And use varargs in a test.
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/test/java/com/vaadin/tests/themes/valo/ValoDefaultCaptionWidthTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/uitest/src/test/java/com/vaadin/tests/themes/valo/ValoDefaultCaptionWidthTest.java b/uitest/src/test/java/com/vaadin/tests/themes/valo/ValoDefaultCaptionWidthTest.java
index 4bdd9fc0f1..e7a480a97f 100644
--- a/uitest/src/test/java/com/vaadin/tests/themes/valo/ValoDefaultCaptionWidthTest.java
+++ b/uitest/src/test/java/com/vaadin/tests/themes/valo/ValoDefaultCaptionWidthTest.java
@@ -39,7 +39,7 @@ public class ValoDefaultCaptionWidthTest extends DefaultCaptionWidthTest {
int width = $(ColorPickerElement.class).first().getSize().getWidth();
// Make sure that implicit width is less than one that will be
// explicitly set by the test
- assertThat("Width of color picker is overriden by "
+ assertThat("Width of color picker is overridden by "
+ "default caption feature", width, is(lessThan(148)));
}
@@ -51,7 +51,7 @@ public class ValoDefaultCaptionWidthTest extends DefaultCaptionWidthTest {
// Width should be 150px but let's just check that it's not which is
// used when default caption is used and at least >= 150-1
assertThat(
- "Width of color picker is overriden by "
+ "Width of color picker is overridden by "
+ "default caption feature",
width, is(greaterThan(149)));
}