Software /
code /
prosody
Diff
spec/util_datamapper_spec.lua @ 11494:284c822d4c3d
util.datamapper: Fix spelling in tests
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 28 Mar 2021 14:00:21 +0200 |
parent | 11488:332c9291f4d5 |
child | 12133:11060c8919b6 |
line wrap: on
line diff
--- a/spec/util_datamapper_spec.lua Sun Mar 28 13:51:06 2021 +0200 +++ b/spec/util_datamapper_spec.lua Sun Mar 28 14:00:21 2021 +0200 @@ -75,7 +75,7 @@ x = xml.parse [[ <message xmlns="jabber:client" xml:lang="en" to="a@test" from="b@test" type="chat" id="1"> <body>Hello</body> - <delay xmlns='urn:xmpp:delay' from='test' stamp='2021-03-07T15:59:08+00:00'>Becasue</delay> + <delay xmlns='urn:xmpp:delay' from='test' stamp='2021-03-07T15:59:08+00:00'>Because</delay> <UNRELATED xmlns='http://jabber.org/protocol/chatstates'/> <active xmlns='http://jabber.org/protocol/chatstates'/> <fallback xmlns='urn:xmpp:fallback:0'/> @@ -96,7 +96,7 @@ id = "1"; lang = "en"; body = "Hello"; - delay = {from = "test"; stamp = "2021-03-07T15:59:08+00:00"; reason = "Becasue"}; + delay = {from = "test"; stamp = "2021-03-07T15:59:08+00:00"; reason = "Because"}; state = "active"; fallback = true; origin_id = "qgkmMdPB";