Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests for selecting a specific OpenJDK version #334

Merged
merged 1 commit into from
Feb 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions test/spec/java_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
'23' => 'OpenJDK Runtime Environment (build 23.0.2+7)',
'heroku-21' => 'OpenJDK Runtime Environment (build 21.0.6+7)',
'zulu-21' => 'OpenJDK Runtime Environment Zulu21.40+17-CA (build 21.0.6+7-LTS)',
'21.0.6' => 'OpenJDK Runtime Environment (build 21.0.6+7)',
'zulu-21.0.6' => 'OpenJDK Runtime Environment Zulu21.40+17-CA (build 21.0.6+7-LTS)',
},
'heroku-22' => {
nil => 'OpenJDK 64-Bit Server VM (Zulu 8.84.0.15-CA-linux64) (build 25.442-b06, mixed mode)',
Expand All @@ -24,6 +26,8 @@
'23' => 'OpenJDK Runtime Environment Zulu23.32+11-CA (build 23.0.2+7)',
'heroku-21' => 'OpenJDK Runtime Environment (build 21.0.6+7)',
'zulu-21' => 'OpenJDK Runtime Environment Zulu21.40+17-CA (build 21.0.6+7-LTS)',
'21.0.6' => 'OpenJDK Runtime Environment Zulu21.40+17-CA (build 21.0.6+7-LTS)',
'heroku-21.0.6' => 'OpenJDK Runtime Environment (build 21.0.6+7)',
},
'heroku-24' => {
nil => 'OpenJDK Runtime Environment Zulu21.40+17-CA (build 21.0.6+7-LTS)',
Expand All @@ -35,6 +39,8 @@
'23' => 'OpenJDK Runtime Environment Zulu23.32+11-CA (build 23.0.2+7)',
'heroku-21' => 'OpenJDK Runtime Environment (build 21.0.6+7)',
'zulu-21' => 'OpenJDK Runtime Environment Zulu21.40+17-CA (build 21.0.6+7-LTS)',
'21.0.6' => 'OpenJDK Runtime Environment Zulu21.40+17-CA (build 21.0.6+7-LTS)',
'heroku-21.0.6' => 'OpenJDK Runtime Environment (build 21.0.6+7)',
# Ensure that slightly incorrect version strings work
' 21 ' => 'OpenJDK Runtime Environment Zulu21.40+17-CA (build 21.0.6+7-LTS)',
},
Expand Down
Loading