Skip to content

Commit 8aec4a9

Browse files
authored
Update test.js
1 parent e2b0ab1 commit 8aec4a9

File tree

1 file changed

+4
-4
lines changed
  • 1-js/04-object-basics/01-object/8-multiply-numeric/_js.view

1 file changed

+4
-4
lines changed

1-js/04-object-basics/01-object/8-multiply-numeric/_js.view/test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
describe("multiplyNumeric", function() {
2-
it("multiplies all numeric properties by 2", function() {
2+
it("multiplica todas as propriedades numéricas por 2", function() {
33
let menu = {
44
width: 200,
55
height: 300,
6-
title: "My menu"
6+
title: "O meu menu"
77
};
88
let result = multiplyNumeric(menu);
99
assert.equal(menu.width, 400);
1010
assert.equal(menu.height, 600);
11-
assert.equal(menu.title, "My menu");
11+
assert.equal(menu.title, "O meu menu");
1212
});
1313

14-
it("returns nothing", function() {
14+
it("não retorna nada", function() {
1515
assert.isUndefined( multiplyNumeric({}) );
1616
});
1717

0 commit comments

Comments
 (0)