From f99b7a15431a67c5ee384b4dd82c515ffc9c8321 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Mon, 13 Jan 2025 10:57:41 +0800 Subject: [PATCH] fix syntax --- tests/records.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/records.test.js b/tests/records.test.js index 819c70d1a..fdf2a17e9 100644 --- a/tests/records.test.js +++ b/tests/records.test.js @@ -98,7 +98,7 @@ t("All files should have valid record types", (t) => { t.true(recordKeys.includes("NS"), `${file}: DS records must be combined with NS records`); } - if (recordKeys.includes("URL") { + if (recordKeys.includes("URL")) { t.true(!recordKeys.includes("A") && !recordKeys.includes("AAAA") && !recordKeys.includes("CNAME"), `${file}: URL records cannot be combined with A, AAAA, or CNAME records`); } });