Skip to content

Commit ff67812

Browse files
committed
fix surface cmin/cmax/cauto defaults test
1 parent 40a7510 commit ff67812

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/jasmine/tests/surface_test.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -127,16 +127,14 @@ describe('Test surface', function() {
127127
it('should coerce \'c\' attributes with \'c\' values regardless of `\'z\' if \'c\' is present', function() {
128128
traceIn = {
129129
z: [[1, 2, 3], [2, 1, 2]],
130-
zauto: false,
131130
zmin: 0,
132131
zmax: 10,
133-
cauto: true,
134132
cmin: -10,
135133
cmax: 20
136134
};
137135

138136
supplyDefaults(traceIn, traceOut, defaultColor, layout);
139-
expect(traceOut.cauto).toEqual(true);
137+
expect(traceOut.cauto).toEqual(false);
140138
expect(traceOut.cmin).toEqual(-10);
141139
expect(traceOut.cmax).toEqual(20);
142140
});

0 commit comments

Comments
 (0)