Skip to content

Commit

Permalink
Add CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Aug 31, 2021
1 parent 3e4da65 commit 124170d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ export const schema = {
CD: [['compact', 'disc']],
CGA: [['color', 'graphic', 'adapter']],
CNN: [['cable', 'news', 'network']],
CSS: [
['cascading', 'style', 'sheet'],
['cascading', 'stylesheet']
],
COBOL: [['common', 'businessoriented', 'language']],
CPI: [['consumer', 'price', 'index']],
CPU: [['central', 'processing', 'unit']],
Expand Down
6 changes: 4 additions & 2 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ test('retext-redundant-acronyms', (t) => {
// Plurals.
'Are there ATM machines nearby?',
// Definition.
'TWA (Trans World Airline) was a US airline acquired and then liquidated in 2001.'
'TWA (Trans World Airline) was a US airline acquired and then liquidated in 2001.',
'Whenever I read "CSS stylesheets" my brain automatically translates it…'
].join('\n')
)
.then((file) => {
Expand All @@ -71,7 +72,8 @@ test('retext-redundant-acronyms', (t) => {
'4:5-4:32: Expected `HIV` instead of `HIV immuno-deficiency virus`',
'5:1-5:16: Expected `GRE` instead of `GRE examination`',
'5:21-5:29: Expected `GRE` instead of `GRE exam`',
'9:11-9:23: Expected `ATMs` instead of `ATM machines`'
'9:11-9:23: Expected `ATMs` instead of `ATM machines`',
'11:18-11:33: Expected `CSSs` instead of `CSS stylesheets`'
],
'should warn about redundant acronyms'
)
Expand Down

0 comments on commit 124170d

Please sign in to comment.