Skip to content

Commit 853347e

Browse files
committed
lints
1 parent 77e46e4 commit 853347e

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/javascript/tests/core/erlang_compat/maps_spec.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ test('get/3', (t) => {
5050
t.is(result, 1);
5151

5252
myMap = new Map([['a', 1], ['b', 2]]);
53-
result = Core.maps.get('c', myMap, "undefined");
54-
t.is(result, "undefined");
53+
result = Core.maps.get('c', myMap, 'undefined');
54+
t.is(result, 'undefined');
5555
});
5656

5757
test('put/3', (t) => {
@@ -67,7 +67,8 @@ test('put/3', (t) => {
6767

6868
test('take/2', (t) => {
6969
const myMap = new Map([['a', 1], ['b', 2]]);
70-
var a, result;
70+
let a;
71+
let result;
7172
[a, result] = Core.maps.take('a', myMap);
7273
t.is(a, 1);
7374
t.is(result.has('a'), false);

0 commit comments

Comments
 (0)