From 2b953c4b75c5f711ac219b69da41b85279489efb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Sat, 4 Jan 2025 13:41:24 +0100 Subject: [PATCH] fix(typos): typos caught more typos :3 Some typos where not a typo tho, just a test T-T. This fixes it. --- flake-modules/module.nix | 2 +- src/records.rs | 2 +- .../webnsupdate__records__test__invalid_ascii.snap | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/flake-modules/module.nix b/flake-modules/module.nix index 6ffbba6..fc52da7 100644 --- a/flake-modules/module.nix +++ b/flake-modules/module.nix @@ -138,7 +138,7 @@ let in lib.mkIf cfg.enable { # warnings = - # lib.optional (!config.services.bind.enable) "`webnsupdate` is expected to be used alongside `bind`. This is an unsopported configuration."; + # lib.optional (!config.services.bind.enable) "`webnsupdate` is expected to be used alongside `bind`. This is an unsupported configuration."; assertions = [ { assertion = diff --git a/src/records.rs b/src/records.rs index 5ca6528..860f719 100644 --- a/src/records.rs +++ b/src/records.rs @@ -256,7 +256,7 @@ mod test { let err = verify( "\ example.com.\n\ - name.this-is-not-aßcii.example.org.\n\ + name.this-is-not-ascii-ß.example.org.\n\ example.net.\n\ subdomain.example.com.\n\ ", diff --git a/src/snapshots/webnsupdate__records__test__invalid_ascii.snap b/src/snapshots/webnsupdate__records__test__invalid_ascii.snap index a777b6d..eb8102b 100644 --- a/src/snapshots/webnsupdate__records__test__invalid_ascii.snap +++ b/src/snapshots/webnsupdate__records__test__invalid_ascii.snap @@ -6,11 +6,11 @@ expression: out ]8;;https://en.wikipedia.org/wiki/Hostname#Syntax\(link)]8;;\ × invalid octet: '\xc3' - ╭─[test_records_invalid:2:19] + ╭─[test_records_invalid:2:24] 1 │ example.com. - 2 │ name.this-is-not-aßcii.example.org. - · ┬ - · ╰── octet + 2 │ name.this-is-not-ascii-ß.example.org. + · ┬ + · ╰── octet 3 │ example.net. ╰──── help: we only accept ascii characters