Skip to content

Commit

Permalink
heuristic_spec.rb: explicit lang setting
Browse files Browse the repository at this point in the history
  • Loading branch information
wtsnjp committed Aug 12, 2024
1 parent c81e300 commit 1d36f79
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/score/heuristic_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
RSpec.describe "Scoring", :type => :aruba do
include_context "messages"

context 'Example query "babel"' do
context 'query "babel"' do
let(:test_query) { "babel" }

context "babel/babel.pdf" do
Expand Down Expand Up @@ -72,7 +72,7 @@
end
end

context 'Example query "texlive"' do
context 'query "texlive"' do
let(:test_query) { "texlive" }

context "texlive-en/texlive-en.pdf" do
Expand All @@ -85,7 +85,7 @@
EXPECTED
end

before(:each) { run_texdoc "-dscore", test_query }
before(:each) { run_texdoc "-dscore", "-clang=de", test_query }

it "should get alias match score" do
expect(stderr).to include(res_score_log)
Expand Down

0 comments on commit 1d36f79

Please sign in to comment.