Skip to content

Commit

Permalink
Fix a typo in Metric class' regular expression
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=259122

Reviewed by Dewei Zhu.

Fixed the typo.

* Websites/perf.webkit.org/public/v3/models/metric.js:
(Metric):

Canonical link: https://commits.webkit.org/265969@main
  • Loading branch information
rniwa committed Jul 11, 2023
1 parent 58021e6 commit 0ae65c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Websites/perf.webkit.org/public/v3/models/metric.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Metric extends LabeledObject {
this._test = object.test;
this._platforms = [];

const suffix = this.name().match('([A-z][a-z]+|FrameRate)$')[0];
const suffix = this.name().match('([A-Z][a-z]+|FrameRate)$')[0];
this._unit = {
'FrameRate': 'fps',
'Runs': '/s',
Expand Down

0 comments on commit 0ae65c4

Please sign in to comment.