Skip to content

Commit 0a42c61

Browse files
committed
Update test error text for Rust 1.54
1 parent 6830e30 commit 0a42c61

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/spec/features/editions_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
click_on("Run")
2525

2626
within(:output, :stderr) do
27-
expect(page).to have_content "thread 'main' panicked at 'Box<Any>'"
27+
expect(page).to have_content "thread 'main' panicked at 'Box<dyn Any>'"
2828
end
2929
end
3030

tests/spec/features/highlighting_error_output_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
scenario "errors are highlighted" do
1212
within(:output, :stderr) do
13-
expect(page).to have_css '.error', text: '1 type argument but 2 type arguments were supplied'
13+
expect(page).to have_css '.error', text: '1 generic argument but 2 generic arguments were supplied'
1414
expect(page).to have_css '.error', text: 'aborting due to 2 previous errors'
1515
expect(page).to have_css '.error', text: /Could not compile `playground`/i
1616
end

0 commit comments

Comments
 (0)