From 00bcdbab37bbc0b3d9861e94a6239d3ccaf71cba Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Wed, 12 May 2021 16:15:07 +0530 Subject: [PATCH] Fix broken test Signed-off-by: RMidhunSuresh --- src/domain/session/room/timeline/linkify/linkify.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/domain/session/room/timeline/linkify/linkify.js b/src/domain/session/room/timeline/linkify/linkify.js index f74dfa44..8cea4b28 100644 --- a/src/domain/session/room/timeline/linkify/linkify.js +++ b/src/domain/session/room/timeline/linkify/linkify.js @@ -112,8 +112,8 @@ export function tests() { }, "Link ends with <": assert => { - const link = "https://matrxi.org"; - const out = [{ type: "link", text: link }, { type: "text", text: "<" }]; + const link = "https://matrix.org<"; + const out = [{ type: "link", text: "https://matrix.org" }, { type: "text", text: "<" }]; test(assert, link, out); } };