Skip to content

Commit ebd6ffd

Browse files
authoredDec 9, 2020
Fix typo in tree BFS testcase name (trekhleb#542)
1 parent 2ec7fe2 commit ebd6ffd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/algorithms/tree/breadth-first-search/__test__/breadthFirstSearch.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import BinaryTreeNode from '../../../../data-structures/tree/BinaryTreeNode';
22
import breadthFirstSearch from '../breadthFirstSearch';
33

44
describe('breadthFirstSearch', () => {
5-
it('should perform DFS operation on tree', () => {
5+
it('should perform BFS operation on tree', () => {
66
const nodeA = new BinaryTreeNode('A');
77
const nodeB = new BinaryTreeNode('B');
88
const nodeC = new BinaryTreeNode('C');

0 commit comments

Comments
 (0)
Please sign in to comment.