Skip to content

Commit b1ebcf7

Browse files
committed
Update test input values
1 parent 59296af commit b1ebcf7

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

test/jasmine/tests/lib_test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1149,7 +1149,7 @@ describe('Test lib.js:', function () {
11491149
fontWithDefault: {
11501150
family: '',
11511151
size: 'a million',
1152-
color: 42,
1152+
color: 'invalid',
11531153
weight: 'BIG',
11541154
style: 'Nice',
11551155
variant: false,
@@ -1558,7 +1558,7 @@ describe('Test lib.js:', function () {
15581558

15591559
it("should work for valType 'color' where", function () {
15601560
var shouldPass = ['red', '#d3d3d3', 'rgba(0,255,255,0.1)'];
1561-
var shouldFail = [1, {}, [], 'rgq(233,122,332,1)', null, undefined];
1561+
var shouldFail = ['invalid', {}, [], 'rgq(233,122,332,1)', null, undefined];
15621562

15631563
assert(shouldPass, shouldFail, {
15641564
valType: 'color'

test/jasmine/tests/range_slider_test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -759,8 +759,8 @@ describe('Rangeslider handleDefaults function', function() {
759759
var layoutIn = { xaxis: { rangeslider: {
760760
visible: 'invalid',
761761
thickness: 'invalid',
762-
bgcolor: 42,
763-
bordercolor: 42,
762+
bgcolor: 'invalid',
763+
bordercolor: 'invalid',
764764
borderwidth: 'superfat'
765765
}}};
766766
var layoutOut = { xaxis: {} };

0 commit comments

Comments
 (0)