Skip to content

Commit 335bc70

Browse files
liberaldevsorah
authored andcommitted
Add Rake task and unit tests for test-html-lang-filter
1 parent 04d3c8e commit 335bc70

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

Rakefile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ CONFIG = "_config.yml"
1414
task default: [:build]
1515

1616
desc "Run tests (test-linter, lint, build)"
17-
task test: %i[test-news-plugin test-linter lint build]
17+
task test: %i[test-news-plugin test-html-lang-filter test-linter lint build]
1818

1919
desc "Build the Jekyll site"
2020
task :build do
@@ -129,3 +129,11 @@ Rake::TestTask.new(:"test-news-plugin") do |t|
129129
t.test_files = FileList['test/test_plugin_news.rb']
130130
t.verbose = true
131131
end
132+
133+
require "rake/testtask"
134+
Rake::TestTask.new(:"test-html-lang-filter") do |t|
135+
t.description = "Run tests for the HTML language filter"
136+
t.libs = ["test"]
137+
t.test_files = FileList['test/test_html_lang_filter.rb']
138+
t.verbose = true
139+
end

0 commit comments

Comments
 (0)