summaryrefslogtreecommitdiffstats
path: root/polygerrit-ui/app/elements/shared/gr-list-view/gr-list-view_test.html
diff options
context:
space:
mode:
Diffstat (limited to 'polygerrit-ui/app/elements/shared/gr-list-view/gr-list-view_test.html')
-rw-r--r--polygerrit-ui/app/elements/shared/gr-list-view/gr-list-view_test.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/polygerrit-ui/app/elements/shared/gr-list-view/gr-list-view_test.html b/polygerrit-ui/app/elements/shared/gr-list-view/gr-list-view_test.html
index 680bf934f4..09e68dda65 100644
--- a/polygerrit-ui/app/elements/shared/gr-list-view/gr-list-view_test.html
+++ b/polygerrit-ui/app/elements/shared/gr-list-view/gr-list-view_test.html
@@ -1,5 +1,6 @@
<!DOCTYPE html>
<!--
+@license
Copyright (C) 2017 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
@@ -113,11 +114,12 @@ limitations under the License.
});
test('prev button', () => {
+ assert.isTrue(element._hidePrevArrow(true, 0));
flush(() => {
let offset = 0;
- assert.isTrue(element._hidePrevArrow(offset));
+ assert.isTrue(element._hidePrevArrow(false, offset));
offset = 5;
- assert.isFalse(element._hidePrevArrow(offset));
+ assert.isFalse(element._hidePrevArrow(false, offset));
});
});