Testing: Fix colspan tests

This commit is contained in:
Rob Garrison 2020-03-03 07:29:11 -06:00
parent 07d7c71780
commit 9732131059

View File

@ -638,15 +638,15 @@ jQuery(function($){
QUnit.test( 'colspan parsing', function(assert) { QUnit.test( 'colspan parsing', function(assert) {
assert.expect(3); assert.expect(3);
// parsed colspan values (not raw)
t = [ t = [
'g1', '6', 'a9', 155, 'l', 'nytimes', 'g1', '6', 'a9', 155, 'l', 'nytimes',
'g1', '2', 'z1 957 K mit', 'z1 957 K mit', 'z1 957 K mit', 'z1 957 K mit', // colspan 4 'g1', '2', 'z1 957 k mit', 'z1 957 k mit', 'z1 957 k mit', 'z1 957 k mit', // colspan 4
'g3', '0', 'a13', '17 K', '17 K', 'google', 'g3', '0', 'a13', 17, 17, 'google',
'g2', '8', 'z9', 10, 'g', 'facebook', 'g2', '8', 'z9', 10, 'g', 'facebook',
'g1', '3', 'z24 67', 'z24 67', 'b', 'whitehouse', 'g1', '3', 'z24 67', 'z24 67', 'b', 'whitehouse',
'g4', '7 A10', '7 A10', 87, 'z', 'google', 'g4', '7 a10', '7 a10', 87, 'z', 'google',
'g3', '9', 'z12', 0, 'K nasa', 'K nasa' 'g3', '9', 'z12', 0, 'k nasa', 'k nasa'
]; ];
assert.cacheCompare( table6,'all', t, 'colspans in tbody (duplicateSpan:true)' ); assert.cacheCompare( table6,'all', t, 'colspans in tbody (duplicateSpan:true)' );