diff --git a/Rakefile b/Rakefile index 74a84954d6..8fae8a9958 100644 --- a/Rakefile +++ b/Rakefile @@ -14,7 +14,7 @@ CONFIG = "_config.yml" task default: [:build] desc "Run tests (test-linter, lint, build)" -task test: %i[test-news-plugin test-linter lint build] +task test: %i[test-news-plugin test-html-lang-plugin test-linter lint build] desc "Build the Jekyll site" task :build do @@ -129,3 +129,11 @@ Rake::TestTask.new(:"test-news-plugin") do |t| t.test_files = FileList['test/test_plugin_news.rb'] t.verbose = true end + +require "rake/testtask" +Rake::TestTask.new(:"test-html-lang-plugin") do |t| + t.description = "Run tests for the HTML language plugin" + t.libs = ["test"] + t.test_files = FileList['test/test_plugin_html_lang.rb'] + t.verbose = true +end diff --git a/_includes/language_selector.html b/_includes/language_selector.html index dab2919d9a..7dc903a2f3 100644 --- a/_includes/language_selector.html +++ b/_includes/language_selector.html @@ -17,9 +17,9 @@