Skip to content

Commit 274686a

Browse files
committed
RomanToDecimal : Fix import (typo).
1 parent e3a10ee commit 274686a

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Conversions/RomanToDecimal.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const values = {
88
M: 1000
99
}
1010

11-
function romanToDecimal (romanNumber) {
11+
export function romanToDecimal (romanNumber) {
1212
let prev = ' '
1313

1414
let sum = 0
@@ -32,5 +32,3 @@ function romanToDecimal (romanNumber) {
3232
}
3333
return sum
3434
}
35-
36-
export { romanToDecimal }

Conversions/test/RomanToDecimal.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { romanToDecimal } from '../romanToDecimal'
1+
import { romanToDecimal } from '../RomanToDecimal'
22

33
describe('romanToDecimal', () => {
44
it('XXIIVV', () => {

0 commit comments

Comments
 (0)