Skip to content

Commit

Permalink
Add failing test for helpers.parseTags
Browse files Browse the repository at this point in the history
a4d56fb moved the function from here https://github.com/chjj/blessed/blob/99f9d622e6053c62069f8fedb05141018fea9fdd/lib/widget.js#L9607-L9610 to its own file, but didn't fill in any reference for the Screen variable.
  • Loading branch information
anko committed Aug 5, 2015
1 parent 2b26fe9 commit ecf08f4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/helpers.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
var blessed = require('../'),
screen = blessed.screen();

console.log(blessed.helpers.parseTags('{red-fg}This should be red.{/red-fg}'));
console.log(blessed.helpers.parseTags('{green-bg}This should have a green background.{/green-bg}'));

0 comments on commit ecf08f4

Please sign in to comment.