From 14839a4bfc04d3b3098e52bd3a9313143030b73d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sebasti=C3=A1n=20Gurin?= <sebastigurin@gmail.com>
Date: Sat, 21 Apr 2018 01:14:48 -0300
Subject: [PATCH] Add failing test for #21 (#22)

---
 test.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/test.js b/test.js
index 05a448b..270b1a8 100644
--- a/test.js
+++ b/test.js
@@ -37,6 +37,10 @@ test('match clear screen in a string', t => {
 	t.is('foo\u001B[2Jbar'.match(m())[0], '\u001B[2J');
 });
 
+test.failing('match "change icon name and window title" in string', t => {
+	t.is('\u001B]0;sg@tota:~/git/\u0007\u001B[01;32m[sg@tota\u001B[01;37m misc-tests\u001B[01;32m]$'.match(m())[0], '\u001B]0;sg@tota:~/git/\u0007');
+});
+
 // Testing against extended codes (excluding codes ending in 0-9)
 for (const codeSet of Object.keys(ansiCodes)) {
 	for (const el of ansiCodes[codeSet]) {