diff --git a/test/widget-autopad.js b/test/widget-autopad.js index 7b1dbcc..81bb817 100644 --- a/test/widget-autopad.js +++ b/test/widget-autopad.js @@ -4,7 +4,8 @@ var blessed = require('../') screen = blessed.screen({ dump: __dirname + '/logs/autopad.log', smartCSR: true, - autoPadding: true + autoPadding: true, + warnings: true }); var box1 = blessed.box({ diff --git a/test/widget-bigtext.js b/test/widget-bigtext.js index d849916..ce7079f 100644 --- a/test/widget-bigtext.js +++ b/test/widget-bigtext.js @@ -3,7 +3,8 @@ var blessed = require('../') screen = blessed.screen({ dump: __dirname + '/logs/bigtext.log', - smartCSR: true + smartCSR: true, + warnings: true }); var box = blessed.bigtext({ diff --git a/test/widget-csr.js b/test/widget-csr.js index 23b86ed..02768d3 100644 --- a/test/widget-csr.js +++ b/test/widget-csr.js @@ -3,7 +3,8 @@ var blessed = require('../') screen = blessed.screen({ dump: __dirname + '/logs/csr.log', - smartCSR: true + smartCSR: true, + warnings: true }); var lorem = require('fs').readFileSync(__dirname + '/git.diff', 'utf8'); diff --git a/test/widget-dock-noborder.js b/test/widget-dock-noborder.js index 337fe08..4517e1e 100644 --- a/test/widget-dock-noborder.js +++ b/test/widget-dock-noborder.js @@ -4,7 +4,8 @@ var blessed = require('../') screen = blessed.screen({ dump: __dirname + '/logs/dock.log', smartCSR: true, - dockBorders: true + dockBorders: true, + warnings: true }); blessed.box({ diff --git a/test/widget-dock.js b/test/widget-dock.js index 6591503..79f2658 100644 --- a/test/widget-dock.js +++ b/test/widget-dock.js @@ -4,7 +4,8 @@ var blessed = require('../') screen = blessed.screen({ dump: __dirname + '/logs/dock.log', smartCSR: true, - dockBorders: true + dockBorders: true, + warnings: true }); var topleft = blessed.box({ diff --git a/test/widget-file.js b/test/widget-file.js index dc72d90..3b9c549 100644 --- a/test/widget-file.js +++ b/test/widget-file.js @@ -3,7 +3,8 @@ var blessed = require('../'); var screen = blessed.screen({ tput: true, smartCSR: true, - dump: __dirname + '/logs/file.log' + dump: __dirname + '/logs/file.log', + warnings: true }); var fm = blessed.filemanager({ diff --git a/test/widget-form.js b/test/widget-form.js index 52f79d0..2e6ca56 100644 --- a/test/widget-form.js +++ b/test/widget-form.js @@ -2,7 +2,8 @@ var blessed = require('../') , screen; screen = blessed.screen({ - dump: __dirname + '/logs/form.log' + dump: __dirname + '/logs/form.log', + warnings: true }); var form = blessed.form({ diff --git a/test/widget-image.js b/test/widget-image.js index 32ad03d..50f15f3 100644 --- a/test/widget-image.js +++ b/test/widget-image.js @@ -3,7 +3,8 @@ var blessed = require('../') screen = blessed.screen({ dump: __dirname + '/logs/image.log', - smartCSR: true + smartCSR: true, + warnings: true }); // To ensure our w3mimgdisplay search works: diff --git a/test/widget-insert.js b/test/widget-insert.js index 2f22233..657d32a 100644 --- a/test/widget-insert.js +++ b/test/widget-insert.js @@ -1,7 +1,8 @@ var blessed = require('../'); var screen = blessed.screen({ - dump: __dirname + '/logs/insert.log' + dump: __dirname + '/logs/insert.log', + warnings: true }); var box = blessed.box({ diff --git a/test/widget-layout.js b/test/widget-layout.js index 7b2e817..ae32ce4 100644 --- a/test/widget-layout.js +++ b/test/widget-layout.js @@ -4,7 +4,8 @@ var blessed = require('../') screen = blessed.screen({ dump: __dirname + '/logs/layout.log', smartCSR: true, - autoPadding: true + autoPadding: true, + warnings: true }); var layout = blessed.layout({ diff --git a/test/widget-listbar.js b/test/widget-listbar.js index 5eb6fb5..661ec17 100644 --- a/test/widget-listbar.js +++ b/test/widget-listbar.js @@ -5,7 +5,8 @@ var auto = true; screen = blessed.screen({ dump: __dirname + '/logs/listbar.log', - autoPadding: auto + autoPadding: auto, + warnings: true }); var box = blessed.box({ diff --git a/test/widget-listtable.js b/test/widget-listtable.js index cef0e72..d581dfb 100644 --- a/test/widget-listtable.js +++ b/test/widget-listtable.js @@ -4,7 +4,8 @@ var blessed = require('../') screen = blessed.screen({ dump: __dirname + '/logs/listtable.log', autoPadding: false, - fullUnicode: true + fullUnicode: true, + warnings: true }); var DU = '杜'; diff --git a/test/widget-log.js b/test/widget-log.js index 862ecea..cd6d36a 100644 --- a/test/widget-log.js +++ b/test/widget-log.js @@ -4,7 +4,8 @@ var blessed = require('../') screen = blessed.screen({ dump: __dirname + '/logs/logger.log', smartCSR: true, - autoPadding: false + autoPadding: false, + warnings: true }); var logger = blessed.log({ diff --git a/test/widget-nested-attr.js b/test/widget-nested-attr.js index b370a63..fc75e9b 100644 --- a/test/widget-nested-attr.js +++ b/test/widget-nested-attr.js @@ -2,7 +2,8 @@ var blessed = require('../') , screen; screen = blessed.screen({ - dump: __dirname + '/logs/nested-attr.log' + dump: __dirname + '/logs/nested-attr.log', + warnings: true }); blessed.box({ diff --git a/test/widget-noalt.js b/test/widget-noalt.js index 65c147b..2cb41d5 100644 --- a/test/widget-noalt.js +++ b/test/widget-noalt.js @@ -4,7 +4,8 @@ var blessed = require('../') screen = blessed.screen({ dump: __dirname + '/logs/noalt.log', title: 'widget-noalt test', - noAlt: true + noAlt: true, + warnings: true }); var list = blessed.list({ diff --git a/test/widget-nowrap.js b/test/widget-nowrap.js index a26a87e..6259a71 100644 --- a/test/widget-nowrap.js +++ b/test/widget-nowrap.js @@ -6,7 +6,8 @@ var fs = require('fs') // xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx {red-bg}xxxx xxxx xxxx{/red-bg} screen = blessed.screen({ - dump: __dirname + '/logs/nowrap.log' + dump: __dirname + '/logs/nowrap.log', + warnings: true }); var box = blessed.box({ diff --git a/test/widget-obscure-sides.js b/test/widget-obscure-sides.js index 9f3a37a..4265e37 100644 --- a/test/widget-obscure-sides.js +++ b/test/widget-obscure-sides.js @@ -4,7 +4,8 @@ var screen = blessed.screen({ tput: true, smartCSR: true, dump: __dirname + '/logs/obscure-sides.log', - autoPadding: true + autoPadding: true, + warnings: true }); var box = blessed.box({ diff --git a/test/widget-padding.js b/test/widget-padding.js index aefee7e..9a0ae54 100644 --- a/test/widget-padding.js +++ b/test/widget-padding.js @@ -2,7 +2,8 @@ var blessed = require('../') , screen; screen = blessed.screen({ - dump: __dirname + '/logs/padding.log' + dump: __dirname + '/logs/padding.log', + warnings: true }); blessed.box({ diff --git a/test/widget-play.js b/test/widget-play.js index 4a29416..3d29b05 100644 --- a/test/widget-play.js +++ b/test/widget-play.js @@ -2,7 +2,8 @@ var blessed = require('../'); var screen = blessed.screen({ dump: __dirname + '/logs/play.log', - smartCSR: true + smartCSR: true, + warnings: true }); var frames = require(__dirname + '/frames.json'); diff --git a/test/widget-png.js b/test/widget-png.js index 902b2f4..9725cc9 100644 --- a/test/widget-png.js +++ b/test/widget-png.js @@ -21,7 +21,8 @@ process.argv = process.argv.map(function(arg, i) { var screen = blessed.screen({ tput: true, smartCSR: true, - dump: __dirname + '/logs/png.log' + dump: __dirname + '/logs/png.log', + warnings: true }); var box1 = blessed.box({ diff --git a/test/widget-prompt.js b/test/widget-prompt.js index 1d8aa51..58be369 100644 --- a/test/widget-prompt.js +++ b/test/widget-prompt.js @@ -4,7 +4,8 @@ var screen = blessed.screen({ tput: true, smartCSR: true, dump: __dirname + '/logs/prompt.log', - autoPadding: true + autoPadding: true, + warnings: true }); var prompt = blessed.prompt({ diff --git a/test/widget-record.js b/test/widget-record.js index b5b1122..f992021 100644 --- a/test/widget-record.js +++ b/test/widget-record.js @@ -3,7 +3,8 @@ var blessed = require('../') var screen = blessed.screen({ dump: __dirname + '/logs/record.log', - smartCSR: true + smartCSR: true, + warnings: true }); var btext = blessed.box({ diff --git a/test/widget-scrollable-boxes.js b/test/widget-scrollable-boxes.js index a099193..09598b3 100644 --- a/test/widget-scrollable-boxes.js +++ b/test/widget-scrollable-boxes.js @@ -3,7 +3,8 @@ var blessed = require('../') screen = blessed.screen({ dump: __dirname + '/logs/scrollable-boxes.log', - smartCSR: true + smartCSR: true, + warnings: true }); var box = blessed.box({ diff --git a/test/widget-shadow.js b/test/widget-shadow.js index 790da80..b819237 100644 --- a/test/widget-shadow.js +++ b/test/widget-shadow.js @@ -4,7 +4,8 @@ var blessed = require('../') screen = blessed.screen({ dump: __dirname + '/logs/shadow.log', smartCSR: true, - dockBorders: true + dockBorders: true, + warnings: true }); var bg = blessed.box({ diff --git a/test/widget-shrink-fail-2.js b/test/widget-shrink-fail-2.js index ca84a74..98ea134 100644 --- a/test/widget-shrink-fail-2.js +++ b/test/widget-shrink-fail-2.js @@ -1,6 +1,7 @@ var blessed = require('blessed'); var screen = blessed.screen({ - autoPadding: true + autoPadding: true, + warnings: true }); var tab = blessed.box({ diff --git a/test/widget-shrink-fail.js b/test/widget-shrink-fail.js index d43b14d..2132e4c 100644 --- a/test/widget-shrink-fail.js +++ b/test/widget-shrink-fail.js @@ -1,6 +1,7 @@ var blessed = require('blessed'); var screen = blessed.screen({ - autoPadding: true + autoPadding: true, + warnings: true }); var tab = blessed.box({ diff --git a/test/widget-shrink-padding.js b/test/widget-shrink-padding.js index 50e4c57..145203b 100644 --- a/test/widget-shrink-padding.js +++ b/test/widget-shrink-padding.js @@ -2,7 +2,8 @@ var blessed = require('../') , screen; screen = blessed.screen({ - dump: __dirname + '/logs/shrink-padding.log' + dump: __dirname + '/logs/shrink-padding.log', + warnings: true }); var outer = blessed.box({ diff --git a/test/widget-table.js b/test/widget-table.js index f32a717..e4a60ba 100644 --- a/test/widget-table.js +++ b/test/widget-table.js @@ -4,7 +4,8 @@ var blessed = require('../') screen = blessed.screen({ dump: __dirname + '/logs/table.log', autoPadding: false, - fullUnicode: true + fullUnicode: true, + warnings: true }); var DU = '杜'; diff --git a/test/widget-textarea.js b/test/widget-textarea.js index c1f8e02..70e3822 100644 --- a/test/widget-textarea.js +++ b/test/widget-textarea.js @@ -3,7 +3,8 @@ var blessed = require('../') screen = blessed.screen({ dump: __dirname + '/logs/textarea.log', - fullUnicode: true + fullUnicode: true, + warnings: true }); var box = blessed.textarea({ diff --git a/test/widget-unicode.js b/test/widget-unicode.js index 7ff915a..08aa213 100644 --- a/test/widget-unicode.js +++ b/test/widget-unicode.js @@ -7,7 +7,8 @@ var screen = blessed.screen({ smartCSR: true, dockBorders: true, useBCE: true, - fullUnicode: ~process.argv.indexOf('-') ? false : true + fullUnicode: ~process.argv.indexOf('-') ? false : true, + warnings: true }); /** diff --git a/test/widget-valign.js b/test/widget-valign.js index 725c744..c87f094 100644 --- a/test/widget-valign.js +++ b/test/widget-valign.js @@ -4,7 +4,8 @@ var blessed = require('../') screen = blessed.screen({ dump: __dirname + '/logs/valign.log', smartCSR: true, - autoPadding: false + autoPadding: false, + warnings: true }); var box = blessed.box({ diff --git a/test/widget-video.js b/test/widget-video.js index b0b705e..880f8d8 100644 --- a/test/widget-video.js +++ b/test/widget-video.js @@ -4,7 +4,8 @@ var fs = require('fs'); var screen = blessed.screen({ tput: true, smartCSR: true, - dump: __dirname + '/logs/video.log' + dump: __dirname + '/logs/video.log', + warnings: true }); var video = blessed.video({ diff --git a/test/widget.js b/test/widget.js index 6d2e3a0..7244931 100644 --- a/test/widget.js +++ b/test/widget.js @@ -12,7 +12,8 @@ screen = blessed.screen({ blink: true, color: null }, - debug: true + debug: true, + warnings: true }); screen.debugLog.parseTags = true;