Skip to content

Commit c095eb4

Browse files
committed
translate test 2
1 parent 7c9ca05 commit c095eb4

File tree

1 file changed

+3
-4
lines changed
  • 1-js/05-data-types/07-map-set/02-filter-anagrams/_js.view

1 file changed

+3
-4
lines changed

1-js/05-data-types/07-map-set/02-filter-anagrams/_js.view/test.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ function intersection(arr1, arr2) {
33
}
44

55
describe("aclean", function() {
6-
7-
it("returns exactly 1 word from each anagram set", function() {
6+
it("retorna exatamente 1 palavra de cada conjunto de anagramas", function () {
87
let arr = ["nap", "teachers", "cheaters", "PAN", "ear", "era", "hectares"];
98

109
let result = aclean(arr);
@@ -16,9 +15,9 @@ describe("aclean", function() {
1615

1716
});
1817

19-
it("is case-insensitive", function() {
18+
it("é insensível a maiúsculas e minúsculas", function () {
2019
let arr = ["era", "EAR"];
2120
assert.equal(aclean(arr).length, 1);
2221
});
2322

24-
});
23+
});

0 commit comments

Comments
 (0)