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