Skip to content

Commit

Permalink
Rename platform Mac to MacOS (#4421)
Browse files Browse the repository at this point in the history
Rename platform Mac to MacOS
  • Loading branch information
yanndago authored Oct 3, 2024
1 parent a3cfe3e commit 51f228f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 +418,8 @@ describe('chromedash-enterprise-release-notes-page', () => {
features[2].querySelector('.summary')!.textContent);
const stages = Array.from(features[2].querySelectorAll('li'));
assert.equal(4, stages.length);
assert.include(stages[0].textContent, 'Chrome 100 on Windows, Mac, Linux, Android');
assert.include(stages[1].textContent, 'Chrome 101 on Windows, Mac, Linux, Android');
assert.include(stages[0].textContent, 'Chrome 100 on Windows, MacOS, Linux, Android');
assert.include(stages[1].textContent, 'Chrome 101 on Windows, MacOS, Linux, Android');
assert.include(stages[2].textContent, 'Chrome 102 on iOS, Android');
assert.include(stages[3].textContent, 'Chrome 103 on iOS');

Expand Down
4 changes: 2 additions & 2 deletions client-src/elements/form-field-enums.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const PLATFORM_CATEGORIES: Record<string, [number, string]> = {
PLATFORM_CHROMEOS: [3, 'ChromeOS'],
PLATFORM_LACROS: [4, 'LaCrOS'],
PLATFORM_LINUX: [5, 'Linux'],
PLATFORM_MAC: [6, 'Mac'],
PLATFORM_MAC: [6, 'MacOS'],
PLATFORM_WINDOWS: [7, 'Windows'],
PLATFORM_FUCHSIA: [8, 'Fuchsia'],
};
Expand All @@ -61,7 +61,7 @@ export const PLATFORMS_DISPLAYNAME: Record<number, string> = {
3: 'ChromeOS', // PLATFORM_CHROMEOS
4: 'LaCrOS', // PLATFORM_LACROS
5: 'Linux', // PLATFORM_LINUX
6: 'Mac', // PLATFORM_MAC
6: 'MacOS', // PLATFORM_MAC
7: 'Windows', // PLATFORM_WINDOWS
8: 'Fuchsia', // PLATFORM_FUCHSIA
};
Expand Down
2 changes: 1 addition & 1 deletion internals/core_enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
(PLATFORM_CHROMEOS, 'ChromeOS'),
(PLATFORM_LACROS, 'LaCROS'),
(PLATFORM_LINUX, 'Linux'),
(PLATFORM_MAC, 'Mac'),
(PLATFORM_MAC, 'MacOS'),
(PLATFORM_WINDOWS, 'Windows'),
(PLATFORM_FUCHSIA, 'Fuchsia'),
])
Expand Down

0 comments on commit 51f228f

Please sign in to comment.