Skip to content

Commit 6de99dd

Browse files
committed
Update test error text for Rust 1.63
1 parent b207787 commit 6de99dd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/spec/features/automatic_primary_action_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
click_on("Build")
2929

3030
within(:output, :stderr) do
31-
expect(page).to have_content 'function is never used: `main`'
31+
expect(page).to have_content 'function `main` is never used'
3232
end
3333
end
3434

@@ -75,7 +75,7 @@
7575
click_on("Build")
7676

7777
within(:output, :stderr) do
78-
expect(page).to have_content 'function is never used: `main`'
78+
expect(page).to have_content 'function `main` is never used'
7979
end
8080
end
8181

@@ -134,7 +134,7 @@
134134
click_on("Build")
135135

136136
within(:output, :stderr) do
137-
expect(page).to have_content 'function is never used: `arbitrary_code`'
137+
expect(page).to have_content 'function `arbitrary_code` is never used'
138138
end
139139
end
140140

tests/spec/features/compilation_targets_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
scenario "choosing to build the code" do
3131
in_build_menu { click_on(build_button: "Build") }
3232
within(:output, :stderr) do
33-
expect(page).to have_content 'function is never used: `main`'
33+
expect(page).to have_content 'function `main` is never used'
3434
end
3535
end
3636

0 commit comments

Comments
 (0)