Skip to content

Commit

Permalink
Update installation instruction to reflect Homebrew changes (#2831)
Browse files Browse the repository at this point in the history
* Update instalation from brew on mac

* Update macos-panel.test.tsx.snap

* Updated tests

---------

Co-authored-by: Martijn Verburg <martijnverburg@gmail.com>
  • Loading branch information
RadekCap and karianna authored May 1, 2024
1 parent 126f31a commit 378d99e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/components/InstallTabs/MacOSPanel/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ export const PureMacOSPanel = (): JSX.Element => {
<span className="install-text-command">brew tap </span>homebrew/cask-versions
<br />
<span className="install__text__no-select">$</span>
<span className="install-text-command">brew install --cask </span>temurin8
<span className="install-text-command">brew install --cask </span>temurin@8
<br />
<span className="install__text__no-select">$</span>
<span className="install-text-command">brew install --cask </span>temurin{mostRecentLts}
<span className="install-text-command">brew install --cask </span>temurin@{mostRecentLts}
</ShellBox>
<br />
<br />
Expand All @@ -56,4 +56,4 @@ const MacOSPanel = (): JSX.Element => {
return <PureMacOSPanel />;
};

export default MacOSPanel;
export default MacOSPanel;
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ exports[`Tests for InstallTabs component > renders correctly for macOS 1`] = `
>
brew install --cask
</span>
temurin8
temurin@8
<br />
<span
class="install__text__no-select"
Expand All @@ -766,7 +766,7 @@ exports[`Tests for InstallTabs component > renders correctly for macOS 1`] = `
>
brew install --cask
</span>
temurin
temurin@
1
</code>
</pre>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ exports[`Tests for MacOSPanel component > renders correctly 1`] = `
>
brew install --cask
</span>
temurin8
temurin@8
<br />
<span
class="install__text__no-select"
Expand All @@ -81,7 +81,7 @@ exports[`Tests for MacOSPanel component > renders correctly 1`] = `
>
brew install --cask
</span>
temurin
temurin@
1
</code>
</pre>
Expand Down

0 comments on commit 378d99e

Please sign in to comment.