diff options
author | Kim Alvefur <zash@zash.se> | 2022-03-07 00:13:56 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-03-07 00:13:56 +0100 |
commit | 43351d2b54f7d8451a0e1ada7a72514c1ae1e396 (patch) | |
tree | 69239d940028f6a8a29b1f6b0524d932d1553c7b /spec | |
parent | ece896d2532cc91ea95c0194e3db439c364235eb (diff) | |
download | prosody-43351d2b54f7d8451a0e1ada7a72514c1ae1e396.tar.gz prosody-43351d2b54f7d8451a0e1ada7a72514c1ae1e396.zip |
Spelling: Fix various spelling mistakes (thanks timeless)
Words, sometimes I wonder how they even work
Maybe I missed something.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/json/pass1.json | 6 | ||||
-rw-r--r-- | spec/util_dataforms_spec.lua | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/spec/json/pass1.json b/spec/json/pass1.json index 70e26854..4d46cfcb 100644 --- a/spec/json/pass1.json +++ b/spec/json/pass1.json @@ -20,8 +20,8 @@ "backslash": "\\", "controls": "\b\f\n\r\t", "slash": "/ & \/", - "alpha": "abcdefghijklmnopqrstuvwyz", - "ALPHA": "ABCDEFGHIJKLMNOPQRSTUVWYZ", + "alpha": "abcdefghijklmnopqrstuvwxyz", + "ALPHA": "ABCDEFGHIJKLMNOPQRSTUVWXYZ", "digit": "0123456789", "0123456789": "digit", "special": "`1~!@#$%^&*()_+-={':[,]}|;.</>?", @@ -55,4 +55,4 @@ 0.1e1, 1e-1, 1e00,2e+00,2e-00 -,"rosebud"]
\ No newline at end of file +,"rosebud"] diff --git a/spec/util_dataforms_spec.lua b/spec/util_dataforms_spec.lua index e0a9bb9b..5293238a 100644 --- a/spec/util_dataforms_spec.lua +++ b/spec/util_dataforms_spec.lua @@ -452,14 +452,14 @@ describe("util.dataforms", function () assert.string(e.number); end); - it("bounds-cheking work works", function () + it("bounds-checking work works", function () local d,e = f:data(f:form({number = 100})); assert.not_equal(100, d.number); assert.table(e); assert.string(e.number); end); - it("serializes largeer ints okay", function () + it("serializes larger ints okay", function () local x = f:form{number=1125899906842624} assert.equal("1125899906842624", x:find("field/value#")) end); |