summaryrefslogtreecommitdiff
path: root/test/data/validator/link-hreflang-attribute.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/data/validator/link-hreflang-attribute.test')
-rwxr-xr-xtest/data/validator/link-hreflang-attribute.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/data/validator/link-hreflang-attribute.test b/test/data/validator/link-hreflang-attribute.test
new file mode 100755
index 0000000..de39d4d
--- a/dev/null
+++ b/test/data/validator/link-hreflang-attribute.test
@@ -0,0 +1,7 @@
+{"tests": [
+
+{"description": "invalid lang attribute 'foo'",
+"input": "<link hreflang=foo>",
+"fail-unless": "invalid-lang-code"}
+
+]} \ No newline at end of file