We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77e46e4 commit 853347eCopy full SHA for 853347e
1 file changed
src/javascript/tests/core/erlang_compat/maps_spec.js
@@ -50,8 +50,8 @@ test('get/3', (t) => {
50
t.is(result, 1);
51
52
myMap = new Map([['a', 1], ['b', 2]]);
53
- result = Core.maps.get('c', myMap, "undefined");
54
- t.is(result, "undefined");
+ result = Core.maps.get('c', myMap, 'undefined');
+ t.is(result, 'undefined');
55
});
56
57
test('put/3', (t) => {
@@ -67,7 +67,8 @@ test('put/3', (t) => {
67
68
test('take/2', (t) => {
69
const myMap = new Map([['a', 1], ['b', 2]]);
70
- var a, result;
+ let a;
71
+ let result;
72
[a, result] = Core.maps.take('a', myMap);
73
t.is(a, 1);
74
t.is(result.has('a'), false);
0 commit comments