Douglas Eichelberger
26eda5a303
git grep -l '^describe' | xargs gsed -i 's|^describe|RSpec.describe|g'
2024-02-19 13:57:27 +00:00
Douglas Eichelberger
9075cbae62
brew style --fix
2023-04-21 09:58:50 -07:00
Douglas Eichelberger
ac1e6ded9a
git grep -l '# typed: false' | xargs gsed -i 's|# typed: false||g'
2023-04-21 09:57:47 -07:00
Ruoyu Zhong
b4dba7a42a
locale: reorder segments to match standard format
...
Following #14998 , reorder the locale segments to `language`, `script`,
`region` to match the standard format. This does not require changes
outside the `Locale` class because `Locale` instances are always
constructed with the `parse` method.
Signed-off-by: Ruoyu Zhong <zhongruoyu@outlook.com>
2023-04-13 11:31:24 +08:00
stevenlele
c9e44a0395
Update test
2023-03-17 20:35:17 +08:00
stevenlele
ca22b67dd2
Fix locale parsing
2023-03-17 20:15:42 +08:00
Issy Long
e1ad07190e
rubocop: Fix RSpec/ContextWording
offenses
...
- For some of these I changed `context` to `describe` as it fit better
rather than contriving a "when", "with" or "without", or massively
restructuring the tests.
2021-02-19 23:30:41 +00:00
Rylan Polster
af40e072b0
style: remove RSpec/NamedSubject violations
2021-02-01 20:30:51 -05:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Markus Reiter
9ea1dcf4ca
Fix auditing of cask languages.
2020-08-12 00:45:01 +02:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files.
2019-04-20 13:27:36 +09:00
Vítor Galvão
1d3e8c5550
Add test for locale.detect
2018-06-03 01:41:38 +01:00
Mike McQuaid
5e1806e796
test: rubocop-rspec style auto-corrects.
...
There’s too many warnings to start enabling `rubocop-rspec` by default
but let’s at least apply the cleanups it does automatically.
2018-03-25 13:30:37 +01:00
Markus Reiter
479544665b
Support UN M.49 region codes.
2017-09-29 11:41:23 +02:00
Markus Reiter
40ec2974f4
Move Formatter and Locale specs.
2017-02-28 17:26:44 +01:00