Skip to content

Commit

Permalink
fix spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
dangowans committed Mar 7, 2024
1 parent 9fde7d5 commit 54d4e7d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ import { isSaultSteMarie, fixSaultSteMarie } from '@cityssm/is-sault-ste-marie'

// Test whether a string is a spelling of Sault Ste. Marie.

console.log( isSaultSteMarie('Sault Ste. Marie') ) // => true
console.log( isSaultSteMarie('Sault-Sainte-Marie') ) // => true
console.log( isSaultSteMarie('Toronto') ) // => false
console.log(isSaultSteMarie('Sault Ste. Marie')) // => true
console.log(isSaultSteMarie('Sault-Sainte-Marie')) // => true
console.log(isSaultSteMarie('Toronto')) // => false

// Returns a preferred spelling of Sault Ste. Marie, or the original string.

console.log( fixSaultSteMarie('Sault Ste Marie') ) // => "Sault Ste. Marie"
console.log( fixSaultSteMarie('Sault-Sainte-Marie') ) // => "Sault Ste. Marie"
console.log( fixSaultSteMarie('Sault Ste. Marie', 'The Sault') ) // => "The Sault"
console.log( fixSaultSteMarie('Toronto') ) // => "Toronto"
```
console.log(fixSaultSteMarie('Sault Ste Marie')) // => "Sault Ste. Marie"
console.log(fixSaultSteMarie('Sault-Sainte-Marie')) // => "Sault Ste. Marie"
console.log(fixSaultSteMarie('Sault Ste. Marie', 'The Sault')) // => "The Sault"
console.log(fixSaultSteMarie('Toronto')) // => "Toronto"
```

0 comments on commit 54d4e7d

Please sign in to comment.